-<% 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 => time_ago_in_words(common_details.timestamp, :scope => :'datetime.distance_in_words_ago'),
+ :user => changeset_user_link(common_details.changeset),
+ :title => l(common_details.timestamp) %>
+</div>