-<% if common_details.changeset.user.data_public? %>
- <tr>
- <% if common_details.visible? %>
- <th><%= t 'browse.common_details.edited_by' %></th>
- <% else %>
- <th><%= t 'browse.common_details.deleted_by' %></th>
- <% end %>
- <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><%= t 'browse.common_details.version' %></th>
- <td><%= h(common_details.version) %></td>
-</tr>
+<div class="details">
+ <%=
+ t "browse.#{common_details.visible? ? :edited : :deleted}_by_html",
+ :time => distance_of_time_in_words_to_now(common_details.timestamp),
+ :user => changeset_user_link(common_details.changeset),
+ :title => l(common_details.timestamp)
+ %>
+</div>