/django/contrib/admin/templates/mako/admin/date_hierarchy.html

https://code.google.com/p/mango-py/ · HTML · 30 lines · 20 code · 10 blank · 0 comment · 0 complexity · d8114d28f49f03718276c8c6265df4fe MD5 · raw file

  1. % if show:
  2. <div class="xfull">
  3. <ul class="toplinks">
  4. % if back:
  5. <li class="date-back"><a href="${back['link']}">&lsaquo; ${back['title']}</a></li>
  6. % endif
  7. % for choice in choices:
  8. <li>
  9. % if choice['link']:
  10. <a href="${choice['link']}">
  11. % endif
  12. ${choice['title']}
  13. % if choice['link']:
  14. </a>
  15. % endif
  16. </li>
  17. % endfor
  18. </ul><br class="clear" />
  19. </div>
  20. % endif