Style changeset descriptions with italics on browse pages
Alternative to #580 This reworks changeset descriptions to use italics instead of header elements, in order to make them more like quotes. Care has been taken to make sure that there is still a header element as the first element of the common details partial, in order to make the history pages look right (where the partial appears multiple times).
This commit is contained in:
parent
f70ec18989
commit
a988ad6f51
4 changed files with 15 additions and 13 deletions
|
@ -6,7 +6,9 @@
|
|||
</h2>
|
||||
|
||||
<div class="browse-section">
|
||||
<h6><%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %></h6>
|
||||
<p class="font-italic">
|
||||
<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>
|
||||
</p>
|
||||
<div class="details"><%= changeset_details(@changeset) %></div>
|
||||
|
||||
<%= render :partial => "tag_details", :object => @changeset.tags.except("comment") %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue