calibre-web-companion/CalibreWebCompanion/library/templates/ifelselogin.html

6 lines
195 B
HTML
Raw Normal View History

2020-07-09 05:14:08 +00:00
{% 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 %}