templates/base.html
changeset 143 796ff9e279a8
parent 137 e56b95298254
child 173 b8e7a4e86b35
equal deleted inserted replaced
142:bd65e2c9a7b4 143:796ff9e279a8
   130         <ul id="nav">
   130         <ul id="nav">
   131             <li><a href="/" title="home">home</a></li>
   131             <li><a href="/" title="home">home</a></li>
   132             {% if user.is_authenticated %}
   132             {% if user.is_authenticated %}
   133                 <li><a href="/task/browse/" title="tasks">tasks</a></li>
   133                 <li><a href="/task/browse/" title="tasks">tasks</a></li>
   134                 <li><a href="/user/notifications/" title="notifications">
   134                 <li><a href="/user/notifications/" title="notifications">
   135                 {% if user.unread_notifications %}
   135                 {% if user.unread_notifications.count %}
   136                     notifications({{user.unread_notifications}})
   136                     notifications({{user.unread_notifications.count}})
   137                 {% else %}
   137                 {% else %}
   138                     notifications
   138                     notifications
   139                 {% endif %}
   139                 {% endif %}
   140                 </a></li>
   140                 </a></li>
   141                 <li><a href="/user/requests/" title="Requests">
   141                 <li><a href="/user/requests/" title="Requests">
   142                 {% if user.unread_requests %}
   142                 {% if user.unread_requests.count %}
   143                     requests({{user.unread_requests}})
   143                     requests({{user.unread_requests.count}})
   144                 {% else %}
   144                 {% else %}
   145                     requests
   145                     requests
   146                 {% endif %}
   146                 {% endif %}
   147                 </a></li>
   147                 </a></li>
   148                 <br>
   148                 <br>