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

View file

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

View file

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