Project

General

Profile

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

Marius BĂLTEANU, 2018-07-23 23:19

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_attribute_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'
public/stylesheets/application.css
468 468
div.issue p.author {margin-top:0.5em;}
469 469
div.issue span.private, div.journal span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;}
470 470
div.issue .next-prev-links {color:#999;}
471
div.issue .attributes {margin-top: 2em;}
472 471
div.issue .attributes .attribute {padding-left:180px; clear:left; min-height: 1.8em;}
473
div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; font-weight:bold; float:left;  overflow:hidden; text-overflow: ellipsis;}
472
div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; float:left;  overflow:hidden; text-overflow: ellipsis;}
474 473
div.issue .attribute .value {overflow:auto; text-overflow: ellipsis;}
475 474
div.issue.overdue .due-date .value { color: #c22; }
476 475

  
(3-3/5)