change moving account links to account page
This commit is contained in:
parent
f45d9f41d3
commit
d9d2405a8a
4 changed files with 24 additions and 9 deletions
|
@ -22,7 +22,8 @@
|
||||||
{% blocktrans %}You may have visited an incorrect URL, or the content you are looking for has been deleted by the author.{% endblocktrans %}
|
{% blocktrans %}You may have visited an incorrect URL, or the content you are looking for has been deleted by the author.{% endblocktrans %}
|
||||||
<br>
|
<br>
|
||||||
{% blocktrans %}If you believe this is our mistake, please contact us through the link at the bottom of the page.{% endblocktrans %}
|
{% blocktrans %}If you believe this is our mistake, please contact us through the link at the bottom of the page.{% endblocktrans %}
|
||||||
<a href="{% url 'common:home' %}" class="button">{trans "Go to Home"}</a>
|
<br>
|
||||||
|
<a href="{% url 'common:home' %}" class="button">{% trans "Go to Home" %}</a>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
{% include "_footer.html" %}
|
{% include "_footer.html" %}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 21fd348a2c54f8769adb7f4d6d8782ebdd3a25bc
|
Subproject commit 8b1fe6d2556c6201f77de05b0a58fe7e2e5105d2
|
|
@ -298,6 +298,27 @@
|
||||||
</details>
|
</details>
|
||||||
</article>
|
</article>
|
||||||
{% if allow_any_site %}
|
{% if allow_any_site %}
|
||||||
|
<article>
|
||||||
|
<details>
|
||||||
|
<summary>{% trans 'Migrate Account' %}</summary>
|
||||||
|
<p>
|
||||||
|
{% if not user.email_account %}
|
||||||
|
<i class="fa-solid fa-triangle-exclamation"></i>
|
||||||
|
{% trans "Linking an email to your account is highly recommended before migrating from another Fediverse instance." %}
|
||||||
|
{% endif %}
|
||||||
|
<div>
|
||||||
|
<form action="/@{{ request.user.identity.handle }}/settings/migrate_in/">
|
||||||
|
<button>{% trans "Migrate from anther instance to here" %}</button>
|
||||||
|
</form>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<form action="/@{{ request.user.identity.handle }}/settings/migrate_out/">
|
||||||
|
<button>{% trans "Migrate to another instance" %}</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
</article>
|
||||||
<article>
|
<article>
|
||||||
<details>
|
<details>
|
||||||
<summary>{% trans 'Delete Account' %}</summary>
|
<summary>{% trans 'Delete Account' %}</summary>
|
||||||
|
|
|
@ -249,13 +249,6 @@
|
||||||
<p>
|
<p>
|
||||||
<a href="/@{{ request.user.identity.handle }}/settings/tokens/">{% trans "View authorized applications" %}</a>
|
<a href="/@{{ request.user.identity.handle }}/settings/tokens/">{% trans "View authorized applications" %}</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
|
||||||
{% if user.email_account %}
|
|
||||||
<a href="/@{{ request.user.identity.handle }}/settings/migrate_in/">{% trans "Migrate account" %}</a>
|
|
||||||
{% else %}
|
|
||||||
<a href="{% url 'users:info' %}">{% trans "Link an email so that you can migrate followers from other Fediverse instances." %}</a>
|
|
||||||
{% endif %}
|
|
||||||
</p>
|
|
||||||
</details>
|
</details>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue