Make logo clickable again.
This commit is contained in:
parent
21fabac47a
commit
01a8958153
|
@ -49,18 +49,13 @@
|
||||||
</button>
|
</button>
|
||||||
{% if request.resolver_match.kwargs.camp_slug and camp %}
|
{% if request.resolver_match.kwargs.camp_slug and camp %}
|
||||||
<a class="navbar-brand" href="{% url 'camp_detail' camp_slug=camp.slug %}">
|
<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_svg %}" alt="bornhack" class="img-responsive">
|
||||||
<img src="{% static camp.logo_small %}" alt="bornhack" class="img-responsive">
|
|
||||||
</object>
|
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="navbar-brand" href="/">
|
<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">
|
||||||
<img src="{% static 'img/logo-small.png' %}" alt="bornhack" class="img-responsive">
|
|
||||||
</object>
|
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
<div id="navbar" class="navbar-collapse collapse">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
|
|
Loading…
Reference in a new issue