diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-05 00:25:10 +0300 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-05 01:07:47 +0300 |
commit | 8d19955c05f18675fc16dee6ca0f4da24013e816 (patch) | |
tree | f4a132c7d4ff458d307b96c786dd7cebf909997d /app/views/projects/commits | |
parent | 3a3f0bf436007b3eecc0b85d0fc696951245ab6a (diff) |
Revert counter parentheses back to badges
Diffstat (limited to 'app/views/projects/commits')
-rw-r--r-- | app/views/projects/commits/_head.html.haml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/app/views/projects/commits/_head.html.haml b/app/views/projects/commits/_head.html.haml index 2c8fecae760..d1bd76ab529 100644 --- a/app/views/projects/commits/_head.html.haml +++ b/app/views/projects/commits/_head.html.haml @@ -2,8 +2,8 @@ = nav_link(controller: [:commit, :commits]) do = link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do Commits - %span - (#{number_with_delimiter(@repository.commit_count)}) + %span.badge + = number_with_delimiter(@repository.commit_count) = nav_link(controller: %w(network)) do = link_to namespace_project_network_path(@project.namespace, @project, current_ref) do @@ -16,11 +16,9 @@ = nav_link(html_options: {class: branches_tab_class}) do = link_to namespace_project_branches_path(@project.namespace, @project) do Branches - %span.js-totalbranch-count - (#{@repository.branch_count}) + %span.badge.js-totalbranch-count= @repository.branch_count = nav_link(controller: [:tags, :releases]) do = link_to namespace_project_tags_path(@project.namespace, @project) do Tags - %span.js-totaltags-count - (#{@repository.tag_count}) + %span.badge.js-totaltags-count= @repository.tag_count |