Display git version in navbar menu instead of footer
This commit is contained in:
parent
f79621876e
commit
99f02fc916
2 changed files with 2 additions and 7 deletions
|
@ -51,13 +51,6 @@
|
|||
{% endblock %}
|
||||
</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"
|
||||
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
|
||||
crossorigin="anonymous"></script>
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
<a class="dropdown-item" href="{% url 'password_change' %}">Modifier le mot de passe</a>
|
||||
<div role="separator" class="dropdown-divider"></div>
|
||||
<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>
|
||||
</li>
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in a new issue