diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-04 12:32:50 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-06 19:56:34 +0200 |
commit | a3a93ba4b08176b8d63ed5f6ca95dfa78e7dda0b (patch) | |
tree | 8eaa43fe3d2fb5057321cb31ce7c66018204f1a6 /app/views/layouts/nav | |
parent | 97a2de9e03f9ad947642ded3b4f4e7761fcaa9c3 (diff) | |
download | gitlab-ce-a3a93ba4b08176b8d63ed5f6ca95dfa78e7dda0b.tar.gz |
Expose project badges in project settings menu
Diffstat (limited to 'app/views/layouts/nav')
-rw-r--r-- | app/views/layouts/nav/_project_settings.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_project_settings.html.haml b/app/views/layouts/nav/_project_settings.html.haml index dc3050f02e5..d429a928464 100644 --- a/app/views/layouts/nav/_project_settings.html.haml +++ b/app/views/layouts/nav/_project_settings.html.haml @@ -51,8 +51,13 @@ = icon('code fw') %span Variables - = nav_link path: 'triggers#index' do + = nav_link(controller: :triggers) do = link_to namespace_project_triggers_path(@project.namespace, @project), title: 'Triggers' do = icon('retweet fw') %span Triggers + = nav_link(controller: :badges) do + = link_to namespace_project_badges_path(@project.namespace, @project), title: 'Badges' do + = icon('star-half-empty fw') + %span + Badges |