1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | |
---|
4 | <%def name="title()">Events for Sample ${sample.name}</%def> |
---|
5 | |
---|
6 | <h2>Events for Sample "${sample.name}"</h2> |
---|
7 | <ul class="manage-table-actions"> |
---|
8 | <li> |
---|
9 | <a class="action-button" href="${h.url_for( controller='requests_common', action='manage_request', cntrller=cntrller, id=trans.security.encode_id( sample.request.id ) )}"> |
---|
10 | <span>Browse this request</span></a> |
---|
11 | </li> |
---|
12 | </ul> |
---|
13 | <h3>Sequencing Request "${sample.request.name}"</h3> |
---|
14 | |
---|
15 | %if message: |
---|
16 | ${render_msg( message, status )} |
---|
17 | %endif |
---|
18 | |
---|
19 | <div class="toolForm"> |
---|
20 | <div class="form-row"> |
---|
21 | <div class="toolParamHelp" style="clear: both;"> |
---|
22 | <b>Possible states: </b> |
---|
23 | <% states = " > ".join([ ss.name for ss in sample.request.type.states ]) %> |
---|
24 | ${states} |
---|
25 | </div> |
---|
26 | </div> |
---|
27 | <table class="grid"> |
---|
28 | <thead> |
---|
29 | <tr> |
---|
30 | <th>State</th> |
---|
31 | <th>Description</th> |
---|
32 | <th>Last Update</th> |
---|
33 | <th>Comments</th> |
---|
34 | </tr> |
---|
35 | </thead> |
---|
36 | <tbody> |
---|
37 | %for state, desc, updated, comments in events_list: |
---|
38 | <tr class="libraryRow libraryOrFolderRow" id="libraryRow"> |
---|
39 | <td><b><a>${state}</a></b></td> |
---|
40 | <td><a>${desc}</a></td> |
---|
41 | <td><a>${updated}</a></td> |
---|
42 | <td><a>${comments}</a></td> |
---|
43 | </tr> |
---|
44 | %endfor |
---|
45 | </tbody> |
---|
46 | </table> |
---|
47 | </div> |
---|