there is no camp

This commit is contained in:
Thomas Steen Rasmussen 2017-02-19 22:59:09 +01:00
parent 69e222247b
commit 9de824d877

View file

@ -35,7 +35,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
{% if request.resolver_match.kwargs.camp_slug %}
{% if request.resolver_match.kwargs.camp_slug and camp %}
<img src="{% static camp.logo_small %}" class="img-responsive" />
{% else %}
<img src="{% static 'img/logo-small.png' %}" class="img-responsive" />