Display the changeset comment (if any) as part of the description of

any object in the data browser. Closes #2282.
This commit is contained in:
Tom Hughes 2009-09-15 22:03:09 +00:00
parent cded3db315
commit 6fafe7f309
3 changed files with 9 additions and 0 deletions

View file

@ -20,4 +20,11 @@
<td><%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %></td>
</tr>
<% if common_details.changeset.tags['comment'] %>
<tr>
<th><%= t 'browse.common_details.changeset_comment' %></th>
<td><%= auto_link(h(common_details.changeset.tags['comment'])) %></td>
</tr>
<% end %>
<%= render :partial => "tag_details", :object => common_details %>