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-05-28 14:14:01 +0300
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-05-28 14:14:01 +0300
commit3984067c5a1f6da34fd03f760f7329405e346bc9 (patch)
tree075df175af71923b343db552ed453708c2933ab9 /app/views/shared
parent2ed974d22b386def4b7a3b0ab7881ffde8b8528a (diff)
Temp revert to label.priority? need to fix group page
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_label.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_label.html.haml b/app/views/shared/_label.html.haml
index cf11cf795c3..8e3101e6248 100644
--- a/app/views/shared/_label.html.haml
+++ b/app/views/shared/_label.html.haml
@@ -2,7 +2,7 @@
- status = label_subscription_status(label, @project).inquiry if current_user
- subject = local_assigns[:subject]
- use_label_priority = local_assigns.fetch(:use_label_priority, false)
-- force_priority = local_assigns.fetch(:force_priority, use_label_priority ? label.priority.present? : false)
+- force_priority = local_assigns.fetch(:force_priority, use_label_priority ? label.priority? : false)
- toggle_subscription_path = toggle_subscription_label_path(label, @project) if current_user
- show_label_merge_requests_link = show_label_issuables_link?(label, :merge_requests, project: @project)
- show_label_issues_link = show_label_issuables_link?(label, :issues, project: @project)