fixing the data browser to be able to cope with the changeset change. changeset browsing still needs to be implemented. Also giving a nice error message for 404 not found instead of rendering nothing.

This commit is contained in:
Shaun McDonald 2008-10-13 12:08:26 +00:00
parent 24b21e4a29
commit 734cbb967d
3 changed files with 21 additions and 14 deletions

View file

@ -3,10 +3,10 @@
<td><%= h(common_details.timestamp) %></td>
</tr>
<% if common_details.user.data_public %>
<% if common_details.changeset.user.data_public %>
<tr>
<th>Edited by:</th>
<td><%= link_to h(common_details.user.display_name), :controller => "user", :action => "view", :display_name => common_details.user.display_name %></td>
<td><%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %></td>
</tr>
<% end %>