From fd3c7b23c50df8d4bb6345087ff7aa217e562482 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sat, 18 May 2024 18:30:59 +0300 Subject: [PATCH] Use font size instead of italic for changeset/trace descriptions --- app/views/browse/_common_details.html.erb | 2 +- app/views/changesets/_changeset.html.erb | 2 +- app/views/changesets/show.html.erb | 2 +- app/views/traces/_trace.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb index 195332b09..58956f9de 100644 --- a/app/views/browse/_common_details.html.erb +++ b/app/views/browse/_common_details.html.erb @@ -7,7 +7,7 @@ #<%= link_to_unless_current common_details.version, :controller => "old_#{@type.pluralize}", :action => :show, :version => common_details.version %> -

+

<% if common_details.changeset.tags["comment"].present? %> <%= linkify(common_details.changeset.tags["comment"]) %> <% else %> diff --git a/app/views/changesets/_changeset.html.erb b/app/views/changesets/_changeset.html.erb index 6362330a9..6d2c9a7a2 100644 --- a/app/views/changesets/_changeset.html.erb +++ b/app/views/changesets/_changeset.html.erb @@ -11,7 +11,7 @@ end %> <%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data }, :class => "list-group-item list-group-item-action" do %> -

+

<%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %> diff --git a/app/views/changesets/show.html.erb b/app/views/changesets/show.html.erb index 3ba3968f7..7c04ee284 100644 --- a/app/views/changesets/show.html.erb +++ b/app/views/changesets/show.html.erb @@ -3,7 +3,7 @@ <%= render "sidebar_header", :title => t(".title", :id => @changeset.id) %>

-

+

<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>

<%= changeset_details(@changeset) %>

diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index cd4dce99e..ad731c6db 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -40,7 +40,7 @@ :tags => safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %> <% end %>

-

+

<%= trace.description %>

-- 2.39.5