]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_common_details.rhtml
Pass the to_user to the view. Tests may follow. Closes #1394
[rails.git] / app / views / browse / _common_details.rhtml
1 <tr>
2   <th>Edited at:</th>
3   <td><%= h(common_details.timestamp) %></td>
4 </tr>
5
6 <% if common_details.changeset.user.data_public? %>
7   <tr>
8     <th>Edited by:</th>
9     <td><%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %></td>
10   </tr>
11 <% end %>
12
13 <tr>
14   <th>Version:</th>
15   <td><%= h(common_details.version) %></td>
16 </tr>
17
18 <tr>
19   <th>In changeset:</th>
20   <td><%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %></td>
21 </tr>
22
23 <% unless common_details.tags_as_hash.empty? %>
24   <tr valign="top">
25     <th>Tags:</th>
26     <td>
27       <table padding="0">
28         <%= render :partial => "tag", :collection => common_details.tags_as_hash %>
29       </table>
30     </td>
31   </tr>      
32 <% end %>