summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2017-06-29 10:34:05 +0200
committerAdam Niedzielski <adamsunday@gmail.com>2017-06-29 12:58:35 +0200
commite488a4095f6c0b8901a796c17841e6eb03b06bbb (patch)
treeb97622a0bc6355273d549e49188a0f57e1be1770
parente3a6fedb1350ffcb4838b35cde86593cb1fe1715 (diff)
downloadgitlab-ce-highest-return-on-diff-investment.tar.gz
Bring back branches badge to main project pagehighest-return-on-diff-investment
-rw-r--r--app/views/projects/show.html.haml2
-rw-r--r--changelogs/unreleased/highest-return-on-diff-investment.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 7447197ed89..e1e70a53709 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -21,7 +21,7 @@
%li
= link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do
#{n_('Commit', 'Commits', @project.statistics.commit_count)} (#{number_with_delimiter(@project.statistics.commit_count)})
- %l
+ %li
= link_to namespace_project_branches_path(@project.namespace, @project) do
#{n_('Branch', 'Branches', @repository.branch_count)} (#{number_with_delimiter(@repository.branch_count)})
%li
diff --git a/changelogs/unreleased/highest-return-on-diff-investment.yml b/changelogs/unreleased/highest-return-on-diff-investment.yml
new file mode 100644
index 00000000000..c8be1e0ff8f
--- /dev/null
+++ b/changelogs/unreleased/highest-return-on-diff-investment.yml
@@ -0,0 +1,4 @@
+---
+title: Bring back branches badge to main project page
+merge_request: 12548
+author: