}
}
-.browse_details {
- position: relative;
+/* Rules for entity history */
+#sidebar_content {
+ .browse_details {
+ position: relative;
+ border-bottom: $keyline;
+ }
}
.browse_status {
#sidebar_content {
.browse-section {
- padding: 20px;
+ padding: 10px 20px;
+
+ h4 {
+ padding: 0;
+ }
}
.browse-field {
#sidebar_content {
.browse-section.header {
padding: 20px;
- border-bottom: 1px solid #CCC;
+ border-bottom: $keyline;
h2 {
padding: 0 0 5px 0;
<div class='browse-section common'>
+ <% if common_details.changeset.tags['comment'].present? %>
+ <div style="font-weight: bold; margin-bottom: 5px;">
+ <%= linkify(h(common_details.changeset.tags['comment'])) %>
+ </div>
+ <% else %>
+ <div style="font-weight: bold; margin-bottom: 5px;">(no comment)</div>
+ <% end %>
<div>
<% if common_details.visible? %>
<%= t 'browse.common_details.edited' %>
<%= t 'browse.common_details.in_changeset' %>
#<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
</div>
-
- <% if common_details.changeset.tags['comment'].present? %>
- <div>
- <%= t 'browse.common_details.changeset_comment' %>:
- <%= linkify(h(common_details.changeset.tags['comment'])) %>
- </div>
- <% end %>
</div>
<%= render :partial => "tag_details", :object => common_details %>
end
%>
-<h2><%= @heading %></h2>
+<div class='browse_details header'>
+ <h2><%= @heading %></h2>
+</div>
<div class="changesets">
<%= image_tag "searching.gif", :class => "loader" %>