Commits

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

Comments (0)

Files changed (1)

File templates/index.html

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