Commit 14e97c14 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '12193-epic-tabs-fixes' into 'master'

Epic tabs UI fixes

Closes #12193

See merge request gitlab-org/gitlab-ee!14306
parents 7abc54dc 358d1391
...@@ -18,21 +18,19 @@ ...@@ -18,21 +18,19 @@
.epic-tabs-holder .epic-tabs-holder
.epic-tabs-container.js-epic-tabs-container .epic-tabs-container.js-epic-tabs-container
.scrolling-tabs-container.inner-page-scroll-tabs.is-smaller %ul.epic-tabs.nav-tabs.nav.nav-links.scrolling-tabs
.fade-left= icon('angle-left') %li.notes-tab.qa-notes-tab
.fade-right= icon('angle-right') %a#discussion-tab.active{ href: '#discussion', data: { toggle: 'tab' } }
%ul.epic-tabs.nav-tabs.nav.nav-links.scrolling-tabs = _('Discussion')
%li.notes-tab.qa-notes-tab %span.badge.badge-pill= @epic.notes.user.count
%a#discussion-tab.active{ href: '#discussion', data: { toggle: 'tab' } } - if Feature.enabled?(:epic_trees)
= _('Discussion') %li.tree-tab
- if Feature.enabled?(:epic_trees) %a#tree-tab{ href: '#tree', data: { toggle: 'tab' } }
%li.tree-tab = _('Tree')
%a#tree-tab{ href: '#tree', data: { toggle: 'tab' } } %li.roadmap-tab
= _('Tree') %a#roadmap-tab{ href: '#roadmap', data: { toggle: 'tab' } }
%li.roadmap-tab = _('Roadmap')
%a#roadmap-tab{ href: '#roadmap', data: { toggle: 'tab' } } .d-flex.flex-wrap.align-items-center.justify-content-lg-end
= _('Roadmap')
.d-inline-flex.flex-wrap
#js-vue-discussion-filter{ data: { default_filter: current_user&.notes_filter_for(@epic), #js-vue-discussion-filter{ data: { default_filter: current_user&.notes_filter_for(@epic),
notes_filters: UserPreference.notes_filters.to_json } } notes_filters: UserPreference.notes_filters.to_json } }
......
---
title: Fix alignment of activity dropdown in epic tabs; add counter to discussion
tab
merge_request:
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment