Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 382
- Log:
Remove PATH_PREFIX stuff, since Apache+Passenger doesn't need it.
- Author:
- rool
- Date:
- Mon Mar 21 14:09:15 +0000 2011
- Size:
- 1791 Bytes
1 | <% |
2 | common = @output[0] |
3 | |
4 | if common[:folder] && common[:folder].length > 40 |
5 | folder = '...' + common[:folder][-40..-1] |
6 | else |
7 | folder = common[:folder] || '' |
8 | end |
9 | -%> |
10 | <div class="breadcrumbs_mod"><div class="breadcrumbs"> |
11 | <ul> |
12 | <li><%= link_to 'Revisions', { :action => 'revisions' } %></li> |
13 | <li>» Revision <%= common[:revision] %> of <%= folder %></li> |
14 | </ul> |
15 | </div></div> |
16 | |
17 | <div id="revisions"> |
18 | <h2>Revision <%= common[:revision] %></h2> |
19 | <strong>of <%= folder %></strong> |
20 | |
21 | <p> |
22 | <div class="log"> |
23 | <%= format_with_collaboa_links(common[:log]) %> |
24 | </div> |
25 | |
26 | <ul class="changes"> |
27 | <li><strong>Comitted by:</strong> <%= common[:author] %></li> |
28 | <li><strong>Date:</strong> <%= common[:date] %> (<%= time_ago_in_words(common[:date]) %> ago)</li> |
29 | </ul> |
30 | |
31 | <h2>Affected files:</h2> |
32 | <ul class="changes"> |
33 | <% @output.each do |file| -%> |
34 | <li class="change-name"> |
35 | <% |
36 | if @category_map.include? file[:category] |
37 | imgsrc = @category_map[file[:category]][:image] |
38 | else |
39 | imgsrc = @category_map[:unknown][:image] |
40 | end |
41 | -%> |
42 | <img alt="<%= file[:category] %>" title="<%= file[:category] %>" src="<%= imgsrc %>" /> |
43 | <% if file[:category] != 'Removal' -%> |
44 | <a href="<%= url_for(:controller=>'rcvsweb', :action=>'run', :url=>file[:path], :only_path => true) %>"><%= file[:path] %></a> |
45 | <% else -%> |
46 | <%= file[:path] %> |
47 | <% end -%> |
48 | <%= |
49 | if @category_map.include? file[:category] |
50 | @category_map[file[:category]][:text] |
51 | else |
52 | @category_map[:unknown][:text] |
53 | end |
54 | %> |
55 | </li> |
56 | <% end -%> |
57 | </ul> |
58 | </div> |