more work on the data browser to show the changesets. Also showing the version number. Would be good to have an additional route for showing a specific version of the node/way/relation from the changeset.
This commit is contained in:
parent
45a9d94337
commit
e7147d0d7a
4 changed files with 67 additions and 32 deletions
|
@ -3,17 +3,22 @@
|
|||
<td><%= h(common_details.timestamp) %></td>
|
||||
</tr>
|
||||
|
||||
<% if common_details.changeset.user.data_public %>
|
||||
<% if common_details.changeset.user.data_public? %>
|
||||
<tr>
|
||||
<th>Edited by:</th>
|
||||
<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 %>
|
||||
|
||||
<tr>
|
||||
<th>Version:</th>
|
||||
<td><%= h(common_details.version) %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>In changeset:</th>
|
||||
<td><%= common_details.changeset_id %></td>
|
||||
</tr
|
||||
<td><%= link_to common_details.changeset_id, :action => :changeset %></td>
|
||||
</tr>
|
||||
|
||||
<% unless common_details.tags_as_hash.empty? %>
|
||||
<tr valign="top">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue