diff farol/templates/about.j2 @ 15:f8d51aaac8bc

Display sessionID in about page as well as various versions
author Benoît Allard <benoit.allard@greenbone.net>
date Tue, 30 Sep 2014 14:45:03 +0200
parents 4219d6fb4c38
children 56cab60172ad
line wrap: on
line diff
--- a/farol/templates/about.j2	Tue Sep 30 14:25:53 2014 +0200
+++ b/farol/templates/about.j2	Tue Sep 30 14:45:03 2014 +0200
@@ -54,6 +54,13 @@
     <p>Each session have a <strong>private cache</strong>, sessions are bound to a browser <em>session</em>. They are usually reset when the browser is restarted.</p>
   {% endif %}
   <hr>
+  <h5>Versions:</h5>
+  <ul class="list-inline">
+  {% for product, version in versions %}
+    <li>{{ product }}: <tt><small>{{ version }}</small></tt></li>
+  {% endfor %}
+  </ul>
   <p><strong>Farol</strong> is published under GPLv2+, and is Copyright &copy; Greenbone Networks GmbH.</p>
+  <p class="text-muted text-right"><small>SessionID: {{ session.get('id', '') }}</small></p>
 </div>
 {% endblock %}

http://farol.wald.intevation.org