messages.template 567 B

1234567891011121314151617181920212223242526272829303132
  1. <a class="button" href="#page-newmessage">
  2. New
  3. </a>
  4. <div class="accordion">
  5. <span class="icons">
  6. {
  7. "header": "ui-icon-mail-closed",
  8. "activeHeader": "ui-icon-mail-open"
  9. }
  10. </span>
  11. {{#each messages}}
  12. <h3>
  13. <span style="float:right;">
  14. <time style="font-size:smaller;" class="timeago">
  15. {{timestamp}}
  16. </time>
  17. </span>
  18. {{#if is_new}}
  19. NEW
  20. {{/if}}
  21. <a class="button" href="#~{{from}}">
  22. From: {{from}}
  23. </a>
  24. <a class="button" href="#~{{to}}">
  25. To: {{to}}
  26. </a>
  27. </h3>
  28. <div>
  29. {{message}}
  30. </div>
  31. {{/each}}
  32. </div>