Nikolaj Sjujskij  committed 338cb2b

Display opened/closed tickets even with `today` context var dropped

19ecacf9244e passes `today` variable to template no more, so opened/closed
tickets were not displayed. Now templates checks for `opened or closed`.

  • Participants
  • Parent commits 19ecacf
  • Branches default

Comments (0)

Files changed (1)

File templates/index.html

         {% endfor %}
-    {% if today %}
+    {% if opened or closed %}
     <div class="openedlist">
         <h4>Opened tickets</h4>
         {% for trac, tickets in opened.pop(login, {}).items() %}