Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-04-24 16:32:51 +0300
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-04-24 16:32:51 +0300
commita72fc8e650128d56ec9af1f3ea5960c0f4321db0 (patch)
treebe3b14f81b2d0fa0480577869e778cd7f27a2845 /app/views/shared/_label.html.haml
parent6b07a352a9ad23416f962846fd77bcc52ae06186 (diff)
add label actions styling
Diffstat (limited to 'app/views/shared/_label.html.haml')
-rw-r--r--app/views/shared/_label.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/shared/_label.html.haml b/app/views/shared/_label.html.haml
index d1d5d707410..bccca0bb7d6 100644
--- a/app/views/shared/_label.html.haml
+++ b/app/views/shared/_label.html.haml
@@ -11,18 +11,18 @@
%li.inline
.label-badge.label-badge-gray= label.model_name.human.capitalize
- if can?(current_user, :admin_label, @project)
- %li.inline.js-toggle-priority.toggle-priority{ data: { url: remove_priority_project_label_path(@project, label),
+ %li.inline.js-toggle-priority{ data: { url: remove_priority_project_label_path(@project, label),
dom_id: dom_id(label), type: label.type } }
- %button.add-priority.btn.has-tooltip{ title: 'Prioritize', type: 'button', :'data-placement' => 'top' }
+ %button.label-action.add-priority.btn.btn-transparent.has-tooltip{ title: 'Prioritize', type: 'button', :'data-placement' => 'top' }
= icon('star-o')
- %button.remove-priority.btn.has-tooltip{ title: 'Remove priority', type: 'button', :'data-placement' => 'top' }
+ %button.label-action.remove-priority.btn.btn-transparent.has-tooltip{ title: 'Remove priority', type: 'button', :'data-placement' => 'top' }
= icon('star')
%li.inline
- = link_to edit_label_path(label) do
+ = link_to edit_label_path(label), class: 'btn btn-transparent label-action' do
= icon('pencil')
%li.inline
.dropdown
- %button{ type: 'button', class: 'btn btn-transparent js-label-options-dropdown', data: { toggle: 'dropdown' } }
+ %button{ type: 'button', class: 'btn btn-transparent js-label-options-dropdown label-action', data: { toggle: 'dropdown' } }
= custom_icon('ellipsis_v')
.dropdown-menu.dropdown-menu-align-right
%ul