Commit 6c3dc084 authored by Remi Rampin's avatar Remi Rampin

Add version number to footer

parent 9cb44212
Pipeline #66444625 passed with stage
in 2 minutes and 7 seconds
......@@ -119,8 +119,9 @@ msgid "Log in"
msgstr ""
#: taguette/templates/base.html:64
#, python-format
msgid ""
"Taguette is released under a <a "
"Taguette %(version)s is released under a <a "
"href=\"https://gitlab.com/remram44/taguette/blob/master/LICENSE.txt\">BSD-3-Clause"
" license</a>, &#169; Rémi Rampin | <a href=\"https://www.taguette.org"
"/getting-started.html\">User Documentation</a> | Please report issues via"
......
......@@ -61,7 +61,7 @@
<footer class="footer">
<hr/>
<div class="container">
<p>{% trans %}Taguette is released under a <a href="https://gitlab.com/remram44/taguette/blob/master/LICENSE.txt">BSD-3-Clause license</a>, &#169; Rémi Rampin | <a href="https://www.taguette.org/getting-started.html">User Documentation</a> | Please report issues via <a href="https://gitlab.com/remram44/taguette">GitLab</a> or <a href="mailto:hi@taguette.org">hi@taguette.org</a>!{% endtrans %}</p>
<p>{% trans %}Taguette {{ version }} is released under a <a href="https://gitlab.com/remram44/taguette/blob/master/LICENSE.txt">BSD-3-Clause license</a>, &#169; Rémi Rampin | <a href="https://www.taguette.org/getting-started.html">User Documentation</a> | Please report issues via <a href="https://gitlab.com/remram44/taguette">GitLab</a> or <a href="mailto:hi@taguette.org">hi@taguette.org</a>!{% endtrans %}</p>
</div>
</footer>
</div>
......
......@@ -210,6 +210,7 @@ class BaseHandler(RequestHandler):
multiuser=self.application.config['MULTIUSER'],
register_enabled=self.application.config['REGISTRATION_ENABLED'],
show_messages=self.current_user == 'admin',
version=version,
gettext=self.gettext,
ngettext=self.ngettext,
**kwargs)
......
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