Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 109
- Log:
Miscellaneous bug fixes. Breadcrumb trail while browsing SVN.
Hub integration - see also Changeset #107 and Changeset #108.
- Author:
- adh
- Date:
- Mon Oct 23 18:22:45 +0100 2006
- Size:
- 2448 Bytes
1 | <% @page_title = 'Ticket #' + @ticket.id.to_s %> |
2 | |
3 | <div id="content"> |
4 | <%= render_next_prev_links -%> |
5 | |
6 | <div class="breadcrumbs"> |
7 | <ul> |
8 | <li><%= link_to 'Tickets', :action => 'index' -%></li> |
9 | <li>» Ticket #<%= @ticket.id -%></li> |
10 | </ul> |
11 | </div> |
12 | |
13 | <%= error_messages_for 'ticket' %> |
14 | <%= error_messages_for 'change' %> |
15 | |
16 | <% if flash[:notice] %> |
17 | <div class="notice"><p><%= flash[:notice] %></p></div> |
18 | <% end %> |
19 | |
20 | <div id="ticket"> |
21 | <h1>Ticket #<%= @ticket.id -%> (<%= @ticket.status.name -%>)<span class="date"><%= @ticket.created_at -%></span></h1> |
22 | <h2><%=h @ticket.summary -%></h2> |
23 | |
24 | <table id="ticket-details"> |
25 | <tr> |
26 | <td class="info">Reported by:</td> |
27 | <td><%= format_author @ticket.author -%></td> |
28 | <td class="info">Severity:</td> |
29 | <td><%= @ticket.severity.name -%></td> |
30 | </tr> |
31 | <tr> |
32 | <td class="info">Part:</td> |
33 | <td><%= @ticket.part.name unless @ticket.part.nil? -%></td> |
34 | <td class="info">Release:</td> |
35 | <td><%= @ticket.release.name unless @ticket.release.nil? -%></td> |
36 | </tr> |
37 | <tr> |
38 | <td class="info">Milestone:</td> |
39 | <td><%= @ticket.milestone.name unless @ticket.milestone.nil? -%></td> |
40 | <td class="info">Status</td> |
41 | <td><%= @ticket.status.name-%></td> |
42 | </tr> |
43 | </table> |
44 | |
45 | <h3>Details by <%= format_author @ticket.author -%>:</h3> |
46 | <%= make_links(htmlize(@ticket.content)) %> |
47 | </div> |
48 | |
49 | <% first = true %> |
50 | <% @ticket.ticket_changes.each do |change| -%> |
51 | <% if (first) -%> |
52 | <h3>Changelog:</h3> |
53 | <div id="ticket-changes"> |
54 | <% first = false; end -%> |
55 | |
56 | <h4>Modified by <%= format_author change.author -%> <%= change.created_at.strftime('%a, %B %d %Y - %H:%M:%S %Z') -%></h4> |
57 | <ul> |
58 | <% change.each_log do |log_entry| -%> |
59 | <li><%= format_changes log_entry %></li> |
60 | <% end -%> |
61 | <% if change.has_attachment? -%> |
62 | <li><strong>Attachment</strong> added: <%= link_to(change.attachment, :action => "attachment", :id => change.id) %></li> |
63 | <% end -%> |
64 | </ul> |
65 | |
66 | <% unless change.comment.nil? -%> |
67 | <div id="ticket-change-comment"><%= make_links(htmlize(change.comment)) %></div> |
68 | <% end -%> |
69 | <% end -%> |
70 | <% unless first -%> |
71 | </div> |
72 | <% end -%> |
73 | |
74 | <p /> |
75 | <ul> |
76 | <li><%= link_to 'Comment on, or change status of, this ticket', :action => 'comment', :id => @ticket.id, :anchor => 'comment' %></li> |
77 | </ul> |
78 | <%= render_next_prev_links -%> |
79 | </div> |