Feature #29034 » 0002-adds-some-padding-to-issue-section-content.patch
app/views/issues/_relations.html.erb | ||
---|---|---|
7 | 7 |
<p><strong class="toggle-section icon icon-expanded"><%=l(:label_related_issues)%></strong></p> |
8 | 8 | |
9 | 9 |
<% if @relations.present? %> |
10 |
<%= form_tag({}, :class => 'collapsible', :data => {:cm_url => issues_context_menu_path}) do %> |
|
11 |
<%= render_issue_relations(@issue, @relations) %> |
|
12 |
<% end %> |
|
13 |
<% end %> |
|
10 |
<div class="relations-content collapsible"> |
|
11 |
<%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do %> |
|
12 |
<%= render_issue_relations(@issue, @relations) %> |
|
13 |
<% end %> |
|
14 |
<% end %> |
|
14 | 15 | |
15 |
<%= form_for @relation, { |
|
16 |
:as => :relation, :remote => true, |
|
17 |
:url => issue_relations_path(@issue), |
|
18 |
:method => :post, |
|
19 |
:html => {:id => 'new-relation-form', :style => 'display: none;'} |
|
20 |
} do |f| %> |
|
21 |
<%= render :partial => 'issue_relations/form', :locals => {:f => f}%> |
|
16 |
<%= form_for @relation, { |
|
17 |
:as => :relation, :remote => true, |
|
18 |
:url => issue_relations_path(@issue), |
|
19 |
:method => :post, |
|
20 |
:html => {:id => 'new-relation-form', :style => 'display: none;'} |
|
21 |
} do |f| %> |
|
22 |
<%= render :partial => 'issue_relations/form', :locals => {:f => f}%> |
|
23 |
</div> |
|
22 | 24 |
<% end %> |
app/views/issues/show.html.erb | ||
---|---|---|
106 | 106 |
<%= link_to_new_subtask(@issue) if User.current.allowed_to?(:manage_subtasks, @project) %> |
107 | 107 |
</div> |
108 | 108 |
<p><strong class="toggle-section icon icon-expanded"><%=l(:label_subtask_plural)%></strong></p> |
109 |
<%= form_tag({}, :class => 'collapsible', :data => {:cm_url => issues_context_menu_path}) do %> |
|
110 |
<%= render_descendants_tree(@issue) unless @issue.leaf? %> |
|
111 |
<% end %> |
|
109 |
<div class="subtasks-content collapsible"> |
|
110 |
<%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do %> |
|
111 |
<%= render_descendants_tree(@issue) unless @issue.leaf? %> |
|
112 |
<% end %> |
|
113 |
</div> |
|
112 | 114 |
</div> |
113 | 115 |
<% end %> |
114 | 116 |
public/stylesheets/application.css | ||
---|---|---|
472 | 472 |
div.issue .attributes .attribute .label {width: 170px; margin-left:-180px; float:left; overflow:hidden; text-overflow: ellipsis;} |
473 | 473 |
div.issue .attribute .value {overflow:auto; text-overflow: ellipsis;} |
474 | 474 |
div.issue.overdue .due-date .value { color: #c22; } |
475 |
div.issue .attributes .splitcontent, |
|
476 |
div.issue .description div.wiki, |
|
477 |
div.issue .attachments table, |
|
478 |
div.issue .attachments div.thumbnails, |
|
479 |
div.issue .subtasks-content, |
|
480 |
div.issue .relations-content { |
|
481 |
padding-left: 15px; |
|
482 |
} |
|
475 | 483 | |
476 | 484 |
#issue_tree table.issues, #relations table.issues { border: 0; } |
477 | 485 |
#issue_tree td.checkbox, #relations td.checkbox {display:none;} |