diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-11 09:10:32 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-11 09:10:32 +0100 |
commit | b1288490746988e4872c00e92df60c67351dedc4 (patch) | |
tree | 6a7faaacc877a2a6435ea1393df29e582e25204a | |
parent | 0b434daf52cb93ea42cb49ce15aa59dd01599181 (diff) | |
download | gitlab-ce-sidebar-badge-fix-firefox.tar.gz |
Fixed badge alignment in new project sidebar in FireFoxsidebar-badge-fix-firefox
-rw-r--r-- | app/views/layouts/nav/_new_project_sidebar.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/nav/_new_project_sidebar.html.haml b/app/views/layouts/nav/_new_project_sidebar.html.haml index cc731db3cc1..8838852803b 100644 --- a/app/views/layouts/nav/_new_project_sidebar.html.haml +++ b/app/views/layouts/nav/_new_project_sidebar.html.haml @@ -74,9 +74,9 @@ = nav_link(controller: @project.default_issues_tracker? ? [:issues, :labels, :milestones, :boards] : :issues) do = link_to project_issues_path(@project), title: 'Issues', class: 'shortcuts-issues' do %span - Issues - if @project.default_issues_tracker? %span.badge.count.issue_counter= number_with_delimiter(IssuesFinder.new(current_user, project_id: @project.id).execute.opened.count) + Issues %ul.sidebar-sub-level-items - if project_nav_tab?(:issues) && !current_controller?(:merge_requests) @@ -112,8 +112,8 @@ = nav_link(controller: @project.default_issues_tracker? ? :merge_requests : [:merge_requests, :labels, :milestones]) do = link_to project_merge_requests_path(@project), title: 'Merge Requests', class: 'shortcuts-merge_requests' do %span - Merge Requests %span.badge.count.merge_counter.js-merge-counter= number_with_delimiter(MergeRequestsFinder.new(current_user, project_id: @project.id).execute.opened.count) + Merge Requests - if project_nav_tab? :pipelines = nav_link(controller: [:pipelines, :builds, :jobs, :pipeline_schedules, :environments, :artifacts]) do |