Project

General

Profile

Patch #29263 » move-issue-attributes-to-their-own-section-v2.patch

Go MAEDA, 2019-05-12 01:26

View differences:

app/views/issues/show.html.erb
<%= l(:label_updated_time, time_tag(@issue.updated_on)).html_safe %>.
<% end %>
</p>
<hr />
<p><strong><%=l(:label_field_plural)%></strong></p>
<div class="attributes">
<%= issue_fields_rows do |rows|
rows.left l(:field_status), @issue.status.name, :class => 'status'
config/locales/en.yml
label_open_trackers_description: View all trackers description
label_preferred_body_part_text: Text
label_preferred_body_part_html: HTML (experimental)
label_field_plural: Fields
button_login: Login
button_submit: Submit
public/stylesheets/application.css
div.issue p.author {margin-top:0.5em;}
div.issue span.private, div.journal span.private {font-size: 60%;}
div.issue .next-prev-links {color:#999;}
div.issue .attributes {margin-top: 2em;}
div.issue .attributes .attribute {padding-left:180px; clear:left; min-height: 1.8em;}
div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; font-weight:bold; float:left; overflow:hidden; text-overflow: ellipsis;}
div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; float:left; overflow:hidden; text-overflow: ellipsis;}
div.issue .attribute .value {overflow:auto; text-overflow: ellipsis;}
div.issue.overdue .due-date .value { color: #c22; }
(4-4/5)