Patch #25853 » move_close_completed_versions_above.patch
| app/views/projects/settings/_versions.html.erb | ||
|---|---|---|
| 1 |
<p><%= link_to l(:label_version_new), new_project_version_path(@project, :back_url => ''), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %></p> |
|
| 1 |
<div class="contextual left"> |
|
| 2 |
<%= link_to l(:label_version_new), new_project_version_path(@project, :back_url => ''), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %> |
|
| 3 |
<%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :class => 'icon icon-locked', :method => :put if @versions.any? %> |
|
| 4 |
</div> |
|
| 2 | 5 | |
| 3 | 6 |
<%= form_tag(settings_project_path(@project, :tab => 'versions'), :method => :get) do %> |
| 4 | 7 |
<fieldset><legend><%= l(:label_filter_plural) %></legend> |
| ... | ... | |
| 45 | 48 |
<% else %> |
| 46 | 49 |
<p class="nodata"><%= l(:label_no_data) %></p> |
| 47 | 50 |
<% end %> |
| 48 | ||
| 49 |
<div class="contextual"> |
|
| 50 |
<% if @versions.any? %> |
|
| 51 |
<%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :method => :put %> |
|
| 52 |
<% end %> |
|
| 53 |
</div> |
|
| public/stylesheets/application.css | ||
|---|---|---|
| 426 | 426 |
.contextual .icon {padding-top: 2px; padding-bottom: 3px;}
|
| 427 | 427 |
.contextual input, .contextual select {font-size:0.9em;}
|
| 428 | 428 |
.message .contextual { margin-top: 0; }
|
| 429 |
.contextual.left {float :none;}
|
|
| 429 | 430 | |
| 430 | 431 |
.splitcontent {overflow:auto;}
|
| 431 | 432 |
.splitcontentleft, #list-left {float:left; width:49%;}
|
| ... | ... | |
| 1132 | 1133 |
.handle {cursor: move;}
|
| 1133 | 1134 | |
| 1134 | 1135 |
#my-page .list th.checkbox, #my-page .list td.checkbox {display:none;}
|
| 1136 | ||
| 1135 | 1137 |
/***** Gantt chart *****/ |
| 1136 | 1138 |
.gantt_hdr {
|
| 1137 | 1139 |
position:absolute; |