messages.html 809 B

1234567891011121314151617181920212223242526272829303132333435
  1. {% extends 'base.html' %}
  2. {% block header %}
  3. <h1>Messages for {{ area }} </h1>
  4. {% endblock %}
  5. {% block content %}
  6. <div class="large-12 cell">
  7. <div class="grid-x">
  8. <div class="large-12 cell">
  9. {{ pagination.info }}
  10. </div>
  11. <div class="large-12 cell">
  12. {{ pagination.links }}
  13. </div>
  14. </div>
  15. {% for msg in messages %}
  16. <div class="grid-x padding-x">
  17. <div class="large-1 cell"><a href="/read/{{ area }}/{{ msg.MsgNum}}">{{ loop.index + pagination.skip }}</a></div>
  18. <div class="large-2 cell">{{ msg.written|datefmt }}</div>
  19. <div class="large-2 cell">{{ msg.from }}</div>
  20. <div class="large-2 cell">{{ msg.to }}</div>
  21. <div class="large-5 cell"><a href="/read/{{ area }}/{{ msg.MsgNum}}">{{ msg.subject }}</a></div>
  22. </div>
  23. {% endfor %}
  24. <div class="large-12 cell">
  25. {{ pagination.links }}
  26. </div>
  27. </div>
  28. {% endblock %}