Commit a9e66de6b0df0c001d57af193853da7b21db426c

  • avatar
  • arvind
  • Thu Jun 27 18:37:35 IST 2013
Template changes
  • Diff rendering mode:
  • inline
  • side by side

templates/show_entries.html

15 {% endif %}15 {% endif %}
16 <ul class=entries>16 <ul class=entries>
17 {% for entry in entries %}17 {% for entry in entries %}
18 <li><a href={{ "/posts/"+entry.id }}><h2>{{ entry.title }}</h2></a>@<b>{{ entry.who }}</b>
18 {% if entry.who %}
19 <li><a href={{ "/posts/"+entry.id }}><h2>{{ entry.title }}</h2></a>@<b>{{ entry.who }}</b>
19 {{ entry.what }} {{ entry.where }} {{ entry.how|safe }}20 {{ entry.what }} {{ entry.where }} {{ entry.how|safe }}
21 {% endif %}
20 {% else %}22 {% else %}
21 <li><em>Unbelievable. No entries here so far</em>23 <li><em>Unbelievable. No entries here so far</em>
22 {% endfor %}24 {% endfor %}