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
39 39
        <%= l(:label_updated_time, time_tag(@issue.updated_on)).html_safe %>.
40 40
        <% end %>
41 41
        </p>
42

  
42
<hr />
43
<p><strong><%=l(:label_field_plural)%></strong></p>
43 44
<div class="attributes">
44 45
<%= issue_fields_rows do |rows|
45 46
  rows.left l(:field_status), @issue.status.name, :class => 'status'
config/locales/en.yml
1053 1053
  label_open_trackers_description: View all trackers description
1054 1054
  label_preferred_body_part_text: Text
1055 1055
  label_preferred_body_part_html: HTML (experimental)
1056
  label_field_plural: Fields
1056 1057

  
1057 1058
  button_login: Login
1058 1059
  button_submit: Submit
public/stylesheets/application.css
499 499
div.issue p.author {margin-top:0.5em;}
500 500
div.issue span.private, div.journal span.private {font-size: 60%;}
501 501
div.issue .next-prev-links {color:#999;}
502
div.issue .attributes {margin-top: 2em;}
503 502
div.issue .attributes .attribute {padding-left:180px; clear:left; min-height: 1.8em;}
504
div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; font-weight:bold; float:left;  overflow:hidden; text-overflow: ellipsis;}
503
div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; float:left;  overflow:hidden; text-overflow: ellipsis;}
505 504
div.issue .attribute .value {overflow:auto; text-overflow: ellipsis;}
506 505
div.issue.overdue .due-date .value { color: #c22; }
507 506

  
(4-4/5)