Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 259
- Log:
Numerous small HTML and CSS fixes resulting in a much larger number
of standards compliant pages throughout the site.
- Author:
- rool
- Date:
- Wed Dec 03 19:50:33 +0000 2008
- Size:
- 2116 Bytes
1 | <% @page_title = 'Tickets' %> |
2 | |
3 | <div id="content"> |
4 | <h1>Tickets</h1> |
5 | <%= render :partial => 'filter' %> |
6 | |
7 | <table class="listing" id="tickets"> |
8 | <thead> |
9 | <tr> |
10 | <%= sort_header_tag('id', :caption => 'Ticket', :title => 'Sort by ticket #', :class => 'ticket-number') %> |
11 | <%= sort_header_tag('summary', :class => 'ticket-summary') %> |
12 | <%= sort_header_tag('status_id', :caption => 'Status', :title => 'Sort by status', :class => 'ticket-status') %> |
13 | <%= sort_header_tag('severity_id', :caption => 'Severity', :title => 'Sort by severity', :class => 'ticket-severity') %> |
14 | <%= sort_header_tag('part_id', :caption => 'Part', :title => 'Sort by part', :class => 'ticket-part') %> |
15 | <%= sort_header_tag('milestone_id', :caption => 'Milestone', :title => 'Sort by milestone', :class => 'ticket-milestone') %> |
16 | <%= sort_header_tag('release_id', :caption => 'Release', :title => 'Sort by release', :class => 'ticket-release') %> |
17 | <%= sort_header_tag('created_at', :caption => 'Created', :title => 'Sort by creation date', :class => 'ticket-created') %> |
18 | <th>Updated</th> |
19 | </tr> |
20 | </thead> |
21 | <% @tickets.cycle do |ticket, css| %> |
22 | <tr class="<%= css -%>"> |
23 | <td class="ticket-number"><%= link_to "##{ticket.id}", :action => 'show', :id => ticket.id -%></td> |
24 | <td class="ticket-summary"><%= link_to h(ticket.summary), :action => 'show', :id => ticket.id -%></td> |
25 | |
26 | <td class="ticket-status"><%= ticket.status_name -%></td> |
27 | <td class="ticket-severity"><%= ticket.severity_name unless ticket.severity_name.nil? -%></td> |
28 | <td class="ticket-part"><%= ticket.part_name unless ticket.part_name.nil? -%></td> |
29 | <td class="ticket-milestone"><%= ticket.milestone_name unless ticket.milestone_name.nil? -%></td> |
30 | <td class="ticket-milestone"><%= ticket.release_name unless ticket.release_name.nil? -%></td> |
31 | <td class="ticket-created"><%= ticket.created_at.strftime("%Y-%m-%d %H:%M") -%></td> |
32 | <td><%= ticket.ticket_changes.empty? ? ticket.created_at.strftime("%Y-%m-%d %H:%M") : ticket.ticket_changes.last.created_at.strftime("%Y-%m-%d %H:%M") -%></td> |
33 | </tr> |
34 | <% end %> |
35 | </table> |
36 | </div> |