summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_groups_head.html.haml
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-10-17 16:02:32 -0700
committerStan Hu <stanhu@gmail.com>2017-10-17 16:02:32 -0700
commit891a9ce8b0839fb478ca5704022b2e921097fe27 (patch)
treeec314e86f62f046cb96650be6d076276f23ff453 /app/views/dashboard/_groups_head.html.haml
parentbd46c8abfd5ee964c47eff0ace021e45cbbe6687 (diff)
parentb3f749036ea919de3982c81b157ab2d790ecb4c5 (diff)
downloadgitlab-ce-891a9ce8b0839fb478ca5704022b2e921097fe27.tar.gz
Merge branch 'master' into sh-security-fix-backports-master
Diffstat (limited to 'app/views/dashboard/_groups_head.html.haml')
-rw-r--r--app/views/dashboard/_groups_head.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/dashboard/_groups_head.html.haml b/app/views/dashboard/_groups_head.html.haml
index 7981daa0705..cebdbab4e74 100644
--- a/app/views/dashboard/_groups_head.html.haml
+++ b/app/views/dashboard/_groups_head.html.haml
@@ -1,13 +1,13 @@
.top-area
%ul.nav-links
= nav_link(page: dashboard_groups_path) do
- = link_to dashboard_groups_path, title: 'Your groups' do
+ = link_to dashboard_groups_path, title: _("Your groups") do
Your groups
= nav_link(page: explore_groups_path) do
- = link_to explore_groups_path, title: 'Explore public groups' do
+ = link_to explore_groups_path, title: _("Explore public groups") do
Explore public groups
.nav-controls
= render 'shared/groups/search_form'
= render 'shared/groups/dropdown'
- if current_user.can_create_group?
- = link_to "New group", new_group_path, class: "btn btn-new"
+ = link_to _("New group"), new_group_path, class: "btn btn-new"