improve and bugfix remote follow templates

This commit is contained in:
Hugh Rundle
2021-11-29 15:33:26 +11:00
parent 587b0194fc
commit 7b65edf10b
4 changed files with 16 additions and 10 deletions

View File

@@ -19,7 +19,7 @@
{% elif error %}
{% trans 'Uh oh...' %}
{% else %}
{% blocktrans %}Follow from {{ site.name }}{% endblocktrans %}
{% trans 'Follow from ' %}{{ site.name }}
{% endif %}
{% endblock %}
@@ -48,7 +48,7 @@
<form name="follow" method="post" action="{% url 'follow' %}/?next={% url 'ostatus-success' %}?following={{ user.username }}">
{% csrf_token %}
<input name="user" value={{ user.username }} hidden>
<button class="button is-link" type="submit">{% trans "Follow " %} {{ user.name }}</button>
<button class="button is-link" type="submit">{% trans "Follow " %} {{ user.display_name }}</button>
</form>
</div>
</div>