diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-04-06 18:36:47 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-04-17 15:47:16 +0200 |
commit | 71a256dc52ed3391638dcf9669cf57d75475d326 (patch) | |
tree | 422181b331fcd809a6c4a4316d76d960a248f4d5 /ishtar_common/templates | |
parent | 59d92f268b2a002b006250258bdc54880e080013 (diff) | |
download | Ishtar-71a256dc52ed3391638dcf9669cf57d75475d326.tar.bz2 Ishtar-71a256dc52ed3391638dcf9669cf57d75475d326.zip |
Display of a changelog with alert display when updates are made
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r-- | ishtar_common/templates/ishtar/changelog.html | 18 | ||||
-rw-r--r-- | ishtar_common/templates/navbar.html | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/changelog.html b/ishtar_common/templates/ishtar/changelog.html new file mode 100644 index 000000000..e8fb94ea8 --- /dev/null +++ b/ishtar_common/templates/ishtar/changelog.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} +<div class="container"> + <h1>{% trans "Changelog" %}</h1> + {% if next %} + <div class="text-center"> + <a class="btn btn-info" href="{% url 'changelog' next %}">{% trans "Next" %}</a> + </div> + {% endif %} + {{changelog|safe}} + {% if previous %} + <div class="text-center"> + <a class="btn btn-info" href="{% url 'changelog' previous %}">{% trans "Previous" %}</a> + </div> + {% endif %} +</div> +{% endblock %} diff --git a/ishtar_common/templates/navbar.html b/ishtar_common/templates/navbar.html index d8e368bbc..3e7190645 100644 --- a/ishtar_common/templates/navbar.html +++ b/ishtar_common/templates/navbar.html @@ -33,6 +33,9 @@ <a class="dropdown-item" href="{% url 'password_change' %}"> {% trans "Change password" %} </a> + <a class="dropdown-item" href="{% url 'changelog' %}"> + {% trans "Changelog" %} + </a> <a class="dropdown-item" href="{% url 'logout' %}"> {% trans "Log out" %} </a> |