Make logo clickable again.

This commit is contained in:
Víðir Valberg Guðmundsson 2017-04-19 23:45:01 +02:00
parent 21fabac47a
commit 01a8958153

View file

@ -49,18 +49,13 @@
</button>
{% if request.resolver_match.kwargs.camp_slug and camp %}
<a class="navbar-brand" href="{% url 'camp_detail' camp_slug=camp.slug %}">
<object type="image/svg+xml" data="{% static camp.logo_small_svg %}">
<img src="{% static camp.logo_small %}" alt="bornhack" class="img-responsive">
</object>
<img src="{% static camp.logo_small_svg %}" alt="bornhack" class="img-responsive">
</a>
{% else %}
<a class="navbar-brand" href="/">
<object type="image/svg+xml" data="{% static 'img/logo-small.svg' %}">
<img src="{% static 'img/logo-small.png' %}" alt="bornhack" class="img-responsive">
</object>
</a>
{% endif %}
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">