Commit b92bebc3 authored by Matthieu Gautier's avatar Matthieu Gautier

Make the server_name clickable.

We could have moved the `span` tag in the `a` tag but it breaks the
css and the server name would be under the `h1`.

Adding a second `a` tag is far simpler.
parent bc969124
{% load i18n static %}
{% spaceless %}
<a href="{% url 'index' %}">
<img src="{% static 'branding/header-logo.png' %}"></img>
<a href="{% url 'index' %}">
<span class="boxid">{{ server_name }}</span>
<section class="menu">
{% if user.is_authenticated %}
<a href="{% url 'logout' %}" id="logout">{% blocktrans with user=user %}log out from {{ user }}{% endblocktrans %}{% if user.is_staff %} <i class="fa fa-user-secret"></i>{% endif %}</a></li>
{% else %}
<a href="{% url 'login' %}?next={{ request.path }}" class="mwide tthird">{% trans "log in" %}</a>
{% endif %}
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
{% endif %}
{% endspaceless %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment