calibre-web-companion/CalibreWebCompanion/library/templates/ifelselogin.html
2020-07-09 02:14:08 -03:00

6 lines
195 B
HTML

{% if user.is_authenticated %}
{% else %}
<h1>You don't have permission to view this.</h1>
<li><a href="{% url 'login'%}?next={{request.path}}">Login</a></li>
{% endif %}