projects
/
qcg-portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
no more Zaloguj link on error pages
[qcg-portal.git]
/
qcg
/
templates
/
qcg
/
base.html
diff --git
a/qcg/templates/qcg/base.html
b/qcg/templates/qcg/base.html
index
fdcc2fe
..
fcd82f0
100644
(file)
--- a/
qcg/templates/qcg/base.html
+++ b/
qcg/templates/qcg/base.html
@@
-62,7
+62,8
@@
</li>
</ul>
</li>
- {% else %}
+ {% elif request %}
+ {# trick to prevent below link from showing up on error pages #}
<li><a href="{% url 'login' %}" class="navbar-link">Zaloguj</a></li>
{% endif %}
</ul>