diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-06-29 13:04:41 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-06-29 12:42:29 -0500 |
commit | 8275f403a849e05b32fdb3affa2d57748b4988ed (patch) | |
tree | 430f00536c3c28ede873fa4fe4598f3a5e99d049 | |
parent | 8bcdceb94b0b895d1284560f8bae7a4bc815ba8d (diff) | |
download | gitlab-ce-8275f403a849e05b32fdb3affa2d57748b4988ed.tar.gz |
Merge branch 'highest-return-on-diff-investment' into 'master'
Bring back branches badge to main project page
Closes #34438
See merge request !12548
-rw-r--r-- | app/views/projects/show.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/highest-return-on-diff-investment.yml | 4 |
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: |