summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-04-04 10:40:40 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-04-06 19:56:34 +0200
commit97a2de9e03f9ad947642ded3b4f4e7761fcaa9c3 (patch)
tree3b7e6ea9f1810848ae3a56bb3f4879889c54ef7c /app/views
parenta2bbd2501a15fa60b36110e1acb3d3141586e353 (diff)
downloadgitlab-ce-97a2de9e03f9ad947642ded3b4f4e7761fcaa9c3.tar.gz
Make it possible to switch ref in badges view
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/badges/index.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/badges/index.html.haml b/app/views/projects/badges/index.html.haml
index 5cd2ebce099..fb57bf411dc 100644
--- a/app/views/projects/badges/index.html.haml
+++ b/app/views/projects/badges/index.html.haml
@@ -7,6 +7,8 @@
.panel-heading
%b Builds badge &middot;
= @badge.to_html
+ .pull-right
+ = render 'shared/ref_switcher', destination: 'badges'
.panel-body
.row
.col-md-2.text-center