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
|
@ -9,30 +9,9 @@
|
|||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<tr>
|
||||
<th>Created at:</th>
|
||||
<td><%= h(@changeset.created_at) %></td>
|
||||
</tr>
|
||||
|
||||
<% if @changeset.user.data_public? %>
|
||||
<tr>
|
||||
<th>Belongs to:</th>
|
||||
<td><%= link_to h(@changeset.user.display_name), :controller => "user", :action => "view", :display_name => @changeset.user.display_name %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% unless @changeset.tags_as_hash.empty? %>
|
||||
<tr valign="top">
|
||||
<th>Tags:</th>
|
||||
<td>
|
||||
<table padding="0">
|
||||
<%= render :partial => "tag", :collection => @changeset.tags_as_hash %>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<%= render :partial => "changeset_details", :object => @changeset %>
|
||||
<hr />
|
||||
<%= link_to "Download XML", :controller => "changeset", :action => "read" %>
|
||||
</td>
|
||||
<% # render :partial => "map", :object => @node %>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue