clean up ostatus templates

This commit is contained in:
Hugh Rundle 2021-11-29 19:37:56 +11:00
parent 3d73ea92e8
commit f5d9a204eb
No known key found for this signature in database
GPG Key ID: CD23D6039184286B
4 changed files with 145 additions and 147 deletions

View File

@ -4,7 +4,6 @@
<div class="block">
{% if not request.user.is_authenticated and not error == 'remote_subscribe' %}
<div class="navbar-item">
<div class="columns">
<div class="column">
<form name="login" method="post" action="{% url 'login' %}?next={{ request.path }}?acct={{ user.remote_id }}">
@ -26,7 +25,6 @@
</form>
</div>
</div>
</div>
{% elif error == 'ostatus_subscribe' %}
<div class="notification is-warning has-text-centered">

View File

@ -29,7 +29,7 @@
</div>
</div>
</div>
<div class="card">
<div class="card">
<section class="card-content content">
<form name="remote-follow" method="post" action="{% url 'remote-follow' %}">
{% csrf_token %}
@ -39,6 +39,5 @@
<button class="button mt-1 is-primary" type="submit">{% trans 'Follow!' %}</button>
</form>
</section>
</div>
</div>
{% endblock %}

View File

@ -46,6 +46,7 @@
</a>
<h2 class="navbar-item subtitle">{% block heading %}{% endblock %}</h2>
</div>
</div>
</nav>