Commit 76f0697a authored by Matthieu Gautier's avatar Matthieu Gautier

Merge branch 'add_link_on_server_name' into 'master'

Make the server_name clickable.

See merge request !35
parents bc969124 b92bebc3
{% load i18n static %}
{% spaceless %}
<header>
<section>
<a href="{% url 'index' %}">
<h1>
<img src="{% static 'branding/header-logo.png' %}"></img>
</h1>
</a>
<a href="{% url 'index' %}">
<span class="boxid">{{ server_name }}</span>
</a>
</section>
<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 %}
</section>
</header>
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% 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