/templates/requests/common/events.mako

https://bitbucket.org/h_morita_dbcls/galaxy-central · Mako · 39 lines · 36 code · 3 blank · 0 comment · 2 complexity · f404a8d7b9037053bea55634ef4b952e MD5 · raw file

  1. <%inherit file="/base.mako"/>
  2. <%namespace file="/message.mako" import="render_msg" />
  3. <h2>History of Sequencing Request "${request.name}"</h2>
  4. <ul class="manage-table-actions">
  5. <li>
  6. <a class="action-button" href="${h.url_for( controller=cntrller, action='list', operation='show', id=trans.security.encode_id(request.id) )}">
  7. <span>Browse this request</span></a>
  8. </li>
  9. <li>
  10. <a class="action-button" href="${h.url_for( controller=cntrller, action='list')}">
  11. <span>Browse all requests</span></a>
  12. </li>
  13. </ul>
  14. %if message:
  15. ${render_msg( message, status )}
  16. %endif
  17. <div class="toolForm">
  18. <table class="grid">
  19. <thead>
  20. <tr>
  21. <th>State</th>
  22. <th>Last Update</th>
  23. <th>Comments</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. %for state, updated, comments in events_list:
  28. <tr class="libraryRow libraryOrFolderRow" id="libraryRow">
  29. <td><b><a>${state}</a></b></td>
  30. <td><a>${updated}</a></td>
  31. <td><a>${comments}</a></td>
  32. </tr>
  33. %endfor
  34. </tbody>
  35. </table>
  36. </div>