summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRajat Jain <rjain@gitlab.com>2019-04-22 11:24:23 +0530
committerRajat Jain <rjain@gitlab.com>2019-04-24 15:37:53 +0530
commit7804604687b4f2791174d495dbf61b3a568df36a (patch)
tree963638378c34942d8599772a7fe1116578ff3ab0 /app/views
parent10bf3bbc904c96d5d7633f58cb93cf6927e18c8e (diff)
downloadgitlab-ce-7804604687b4f2791174d495dbf61b3a568df36a.tar.gz
Add Epics in issuable list when EE
Create a method in LabelsHelper which returns the correct list of `issuable_types` to the view.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/groups/labels/index.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/groups/labels/index.html.haml b/app/views/groups/labels/index.html.haml
index 5cf3193bc62..f2fb9c64932 100644
--- a/app/views/groups/labels/index.html.haml
+++ b/app/views/groups/labels/index.html.haml
@@ -1,7 +1,6 @@
- @no_container = true
-- page_title "Labels"
+- page_title 'Labels'
- can_admin_label = can?(current_user, :admin_label, @group)
-- issuables = ['issues', 'merge requests']
- search = params[:search]
- subscribed = params[:subscribed]
- labels_or_filters = @labels.exists? || search.present? || subscribed.present?
@@ -14,7 +13,7 @@
.labels-container.prepend-top-5
- if @labels.any?
.text-muted
- = _('Labels can be applied to %{features}. Group labels are available for any project within the group.') % { features: issuables.to_sentence }
+ = _('Labels can be applied to %{features}. Group labels are available for any project within the group.') % { features: issuable_types.to_sentence }
.other-labels
%h5= _('Labels')
%ul.content-list.manage-labels-list.js-other-labels