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-06-05 12:47:43 +0300
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-06-05 12:47:43 +0300
commit7e36fa398b6f2e0304d852b7c77ef30d83e62ed4 (patch)
treedb6326dc53cbf5e5be5350dcf0389f43eed9b8a1 /app/views/groups/labels/index.html.haml
parent9b9cdc984cb785ceee4ed1902625c65492640621 (diff)
FE review changes
Diffstat (limited to 'app/views/groups/labels/index.html.haml')
-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 215e782d3da..e6b20385792 100644
--- a/app/views/groups/labels/index.html.haml
+++ b/app/views/groups/labels/index.html.haml
@@ -8,8 +8,7 @@
- if can_admin_label
- content_for(:header_content) do
.nav-controls
- = link_to new_group_label_path(@group), class: "btn btn-new" do
- = _('New label')
+ = link_to _('New label'), new_group_label_path(@group), class: "btn btn-new"
- if @labels.exists?
#promote-label-modal
@@ -32,4 +31,4 @@
%template#js-badge-item-template
%li.label-link-item.js-priority-badge.inline.prepend-left-10
- .label-badge.label-badge-blue Prioritized label
+ .label-badge.label-badge-blue= _('Prioritized label')