moviewyrm/bookwyrm/templates/ostatus/remote_follow_button.html

13 lines
518 B
HTML
Raw Normal View History

2021-11-28 09:08:54 +00:00
{% load i18n %}
{% if request.user == user %}
{% else %}
<div class="field mb-0">
<div class="control">
2021-11-28 10:16:57 +00:00
<a class="button is-small is-link" href="{% url 'remote-follow-page' %}?user={{ user.username }}" target="_blank" rel="noopener noreferrer" onclick="BookWyrm.displayPopUp(`{% url 'remote-follow-page' %}?user={{ user.username }}`, `remoteFollow`); return false">
{% blocktrans with username=user.localname %}Follow on Fediverse{% endblocktrans %}
</a>
2021-11-28 09:08:54 +00:00
</div>
</div>
{% endif %}