Patch #814 ยป foo.diff
| app/views/repositories/_dir_list_content.rhtml | ||
|---|---|---|
| 25 | 25 |
<td class="size"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %></td> |
| 26 | 26 |
<td class="revision"><%= link_to(entry.lastrev.name, :action => 'revision', :id => @project, :rev => entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier %></td> |
| 27 | 27 |
<td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td> |
| 28 |
<td class="author"><%=h(entry.lastrev.author) if entry.lastrev %></td> |
|
| 28 |
<td class="author"><%=h(entry.lastrev.author.split('<').first) if entry.lastrev %></td>
|
|
| 29 | 29 |
<% changeset = @project.repository.changesets.find_by_revision(entry.lastrev.identifier) if entry.lastrev %> |
| 30 | 30 |
<td class="comments"><%=h truncate(changeset.comments, 50) unless changeset.nil? %></td> |
| 31 | 31 |
</tr> |
| app/views/repositories/_revisions.rhtml | ||
|---|---|---|
| 17 | 17 |
<td class="checkbox"><%= radio_button_tag('rev', changeset.revision, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td>
|
| 18 | 18 |
<td class="checkbox"><%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
|
| 19 | 19 |
<td class="committed_on"><%= format_time(changeset.committed_on) %></td> |
| 20 |
<td class="author"><%=h changeset.committer %></td> |
|
| 20 |
<td class="author"><%=h changeset.committer.split('<').first %></td>
|
|
| 21 | 21 |
<td class="comments"><%= textilizable(changeset.comments) %></td> |
| 22 | 22 |
</tr> |
| 23 | 23 |
<% line_num += 1 %> |