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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-07-31 13:55:06 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-07-31 13:55:06 +0300
commite0a3701d4849d00192a2812687d850afd93362ef (patch)
treee1abe8c339123dca68ec562fdba99f08ea8e4d76 /app/views/projects/labels
parentd860cf0f27c63ea2c05701aac14a628eef2eae39 (diff)
Update locale with labels search page strings
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/labels')
-rw-r--r--app/views/projects/labels/index.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/labels/index.html.haml b/app/views/projects/labels/index.html.haml
index 00c40a39c81..768ce9bd103 100644
--- a/app/views/projects/labels/index.html.haml
+++ b/app/views/projects/labels/index.html.haml
@@ -26,8 +26,9 @@
.labels-container.prepend-top-10
- if can_admin_label
- %p.text-muted
- = _('Star a label to make it a priority label. Order the prioritized labels to change their relative priority, by dragging.')
+ - if search.blank?
+ %p.text-muted
+ = _('Star a label to make it a priority label. Order the prioritized labels to change their relative priority, by dragging.')
-# Only show it in the first page
- hide = @available_labels.empty? || (params[:page].present? && params[:page] != '1')
.prioritized-labels{ class: ('hide' if hide) }