Commit 505e883f authored by Phil Hughes's avatar Phil Hughes

Fixed labels layout on labels milestone tab

parent 8d059643
......@@ -116,7 +116,7 @@
}
.manage-labels-list {
> li:not(.empty-message) {
> li:not(.empty-message):not(.is-not-draggable) {
background-color: $white-light;
cursor: move;
cursor: -webkit-grab;
......
......@@ -2,7 +2,7 @@
- labels.each do |label|
- options = { milestone_title: @milestone.title, label_name: label.title }
%li
%li.is-not-draggable
%span.label-row
%span.label-name
= link_to milestones_label_path(options) do
......@@ -10,10 +10,8 @@
%span.prepend-description-left
= markdown_field(label, :description)
.pull-info-right
%span.append-right-20
= link_to milestones_label_path(options.merge(state: 'opened')) do
.pull-right.hidden-xs.hidden-sm.hidden-md
= link_to milestones_label_path(options.merge(state: 'opened')), class: 'btn btn-transparent btn-action' do
- pluralize milestone_issues_by_label_count(@milestone, label, state: :opened), 'open issue'
%span.append-right-20
= link_to milestones_label_path(options.merge(state: 'closed')) do
= link_to milestones_label_path(options.merge(state: 'closed')), class: 'btn btn-transparent btn-action' do
- pluralize milestone_issues_by_label_count(@milestone, label, state: :closed), 'closed issue'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment