Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 24
- Log:
Initial import of Collaboa 0.5.6 from downloaded Tarball. Collaboa is
a Ruby On Rails based bug tracker and SVN repository browsing tool.
- Author:
- adh
- Date:
- Mon Jul 24 21:54:39 +0100 2006
- Size:
- 3470 Bytes
1 | <% @page_title = 'Ticket #' + @ticket.id.to_s %> |
2 | |
3 | <div id="content"> |
4 | |
5 | <%= render_next_prev_links -%> |
6 | |
7 | <div class="breadcrumbs"> |
8 | <ul> |
9 | <li><%= link_to 'Tickets', :action => 'index' -%></li> |
10 | <li>» Ticket #<%= @ticket.id -%></li> |
11 | </ul> |
12 | </div> |
13 | |
14 | <%= error_messages_for 'ticket' %> |
15 | <%= error_messages_for 'change' %> |
16 | |
17 | <% if flash[:notice] %> |
18 | <div class="notice"><p><%= flash[:notice] %></p></div> |
19 | <% end %> |
20 | |
21 | <div id="ticket" |
22 | <h1>Ticket #<%= @ticket.id -%> (<%= @ticket.status.name -%>)<span class="date"><%= @ticket.created_at -%></span></h1> |
23 | <h2><%=h @ticket.summary -%></h2> |
24 | |
25 | <table id="ticket-details"> |
26 | <tr> |
27 | <td class="info">Reported by:</td> |
28 | <td><%= format_author @ticket.author -%></td> |
29 | <td class="info">Severity:</td> |
30 | <td><%= @ticket.severity.name -%></td> |
31 | </tr> |
32 | <tr> |
33 | <td class="info">Part:</td> |
34 | <td><%= @ticket.part.name unless @ticket.part.nil? -%></td> |
35 | <td class="info">Release:</td> |
36 | <td><%= @ticket.release.name unless @ticket.release.nil? -%></td> |
37 | </tr> |
38 | <tr> |
39 | <td class="info">Milestone:</td> |
40 | <td><%= @ticket.milestone.name unless @ticket.milestone.nil? -%></td> |
41 | <td class="info">Status</td> |
42 | <td><%= @ticket.status.name-%></td> |
43 | </tr> |
44 | </table> |
45 | |
46 | |
47 | <h3>Details by <%= format_author @ticket.author -%>:</h3> |
48 | <%= make_links(htmlize(@ticket.content)) %> |
49 | </div> |
50 | |
51 | <h3>Changelog:</h3> |
52 | <div id="ticket-changes"> |
53 | <% @ticket.ticket_changes.each do |change| -%> |
54 | |
55 | <h4>Modified by <%= format_author change.author -%> <%= change.created_at.strftime('%a, %B %d %Y - %H:%M:%S %Z') -%></h4> |
56 | <ul> |
57 | <% change.each_log do |log_entry| -%> |
58 | <li><%= format_changes log_entry %></li> |
59 | <% end -%> |
60 | <% if change.has_attachment? -%> |
61 | <li><strong>Attachment</strong> added: <%= link_to(change.attachment, :action => "attachment", :id => change.id) %></li> |
62 | <% end -%> |
63 | </ul> |
64 | |
65 | <% unless change.comment.nil? -%> |
66 | <div id="ticket-change-comment"><%= make_links(htmlize(change.comment)) %></div> |
67 | <% end -%> |
68 | |
69 | <% end -%> |
70 | |
71 | </div> |
72 | |
73 | <%= form_tag({ :action => 'show', :id => @ticket.id }, :multipart => true) %> |
74 | <fieldset> |
75 | <legend>Add comment and/or change ticket properties</legend> |
76 | <label class="first">Name/Email <em>(obligatory)</em>: |
77 | <%= text_field 'change', 'author' -%></label> |
78 | |
79 | <label>Attachment: |
80 | <%= file_field('change', 'attachment') -%></label> |
81 | |
82 | <label>Comment: |
83 | <%= text_area 'change', 'comment', :rows => 12 -%></label> |
84 | |
85 | <label>Ticket Summary: |
86 | <%= text_field 'ticket', 'summary' -%></label> |
87 | |
88 | <table> |
89 | <tr class="set-status"> |
90 | <td>Status:</td> |
91 | <td><%= collection_select 'ticket', 'status_id', @status, 'id', 'name' -%></td> |
92 | </tr> |
93 | <tr> |
94 | <td>Severity:</td> |
95 | <td><%= collection_select 'ticket', 'severity_id', @severities, 'id', 'name' -%></td> |
96 | |
97 | <td>Release:</td> |
98 | <td><%= collection_select 'ticket', 'release_id', @releases, 'id', 'name', { :include_blank => true } -%></td> |
99 | </tr> |
100 | <tr> |
101 | <td>Part: </td> |
102 | <td ><%= collection_select 'ticket', 'part_id', @parts, 'id', 'name', { :include_blank => true } -%></td> |
103 | |
104 | <td >Milestone: </td> |
105 | <td ><%= collection_select 'ticket', 'milestone_id', @milestones, 'id', 'name', { :include_blank => true } -%></td> |
106 | |
107 | </tr> |
108 | </table> |
109 | |
110 | </fieldset> |
111 | <input type="submit" value="Submit changes" class="submit"> |
112 | |
113 | <%= end_form_tag %> |
114 | <%= render_next_prev_links -%> |
115 | </div> |