projects
/
qcg-portal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d6b9d
)
no more Zaloguj link on error pages
author
Maciej Tronowski
<mtro@man.poznan.pl>
Tue, 1 Sep 2015 16:03:39 +0000
(18:03 +0200)
committer
Dawid Jagieła
<lightnir@gmail.com>
Sat, 12 Sep 2015 09:26:23 +0000
(11:26 +0200)
qcg/templates/qcg/base.html
patch
|
blob
|
history
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>