Display git version in navbar menu instead of footer

This commit is contained in:
Gabriel Augendre 2018-03-31 17:57:54 +02:00
parent f79621876e
commit 99f02fc916
No known key found for this signature in database
GPG key ID: F360212F958357D4
2 changed files with 2 additions and 7 deletions

View file

@ -51,13 +51,6 @@
{% endblock %} {% endblock %}
</div> </div>
<footer class="footer">
<div class="container">
<p class="text-muted">Version : <a href="{{ git_version.url }}">{{ git_version.name }}</a></p>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script> crossorigin="anonymous"></script>

View file

@ -23,6 +23,8 @@
<a class="dropdown-item" href="{% url 'password_change' %}">Modifier le mot de passe</a> <a class="dropdown-item" href="{% url 'password_change' %}">Modifier le mot de passe</a>
<div role="separator" class="dropdown-divider"></div> <div role="separator" class="dropdown-divider"></div>
<a class="dropdown-item" href="{% url 'logout' %}">Déconnexion</a> <a class="dropdown-item" href="{% url 'logout' %}">Déconnexion</a>
<div role="separator" class="dropdown-divider"></div>
<a class="dropdown-item" href="{{ git_version.url }}">Version : {{ git_version.name }}</a>
</div> </div>
</li> </li>
{% else %} {% else %}