clean up ostatus templates

This commit is contained in:
Hugh Rundle
2021-11-29 19:37:56 +11:00
parent 3d73ea92e8
commit f5d9a204eb
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

@ -40,5 +40,4 @@
</form>
</section>
</div>
</div>
{% endblock %}

View File

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