Add 'history' tab + Move 'recent changes' changeset list to re-use the same _changeset.rhtml partial

This commit is contained in:
Harry Wood 2009-03-23 16:39:59 +00:00
parent 231bdf66cd
commit afe8dd51ec
12 changed files with 182 additions and 41 deletions

View file

@ -8,9 +8,19 @@
<% if changeset.closed_at > DateTime.now %> (still editing)
<% else %><%= changeset.closed_at.strftime("%d %b %Y %H:%M") %><% end %>
<%if showusername==true %>
<td class="<%= cl %>">
<% if changeset.user.data_public? %>
<%= link_to h(changeset.user.display_name), :controller => "user", :action => "view", :display_name => changeset.user.display_name %>
<% else %>
<i>annon</i>
<% end %>
<% end %>
<td class="<%= cl %>">
<% if changeset.tags['comment'] %>
<%= changeset.tags['comment'] %>
<%= h(changeset.tags['comment']) %>
<% else %>
(none)
<% end %>