New Year revamp #40
@ -38,7 +38,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% if g.login.is_enabled() %}
|
{% if g.login.is_enabled() %}
|
||||||
{% if current_user.is_authenticated %}
|
{% if g.login.is_authenticated() %}
|
||||||
<a href="{{ url_for('admin.admin', open_logout=true) }}" class="badge text-bg-success text-decoration-none">Authenticated</a>
|
<a href="{{ url_for('admin.admin', open_logout=true) }}" class="badge text-bg-success text-decoration-none">Authenticated</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ url_for('login.login', next=request.path) }}" class="badge text-bg-secondary text-decoration-none">Read-only</a>
|
<a href="{{ url_for('login.login', next=request.path) }}" class="badge text-bg-secondary text-decoration-none">Read-only</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user