(CE Port) Add filters for Productivity Analytics
This commit is contained in:
parent
65727aa882
commit
6bc6592a43
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
- type = local_assigns.fetch(:type)
|
||||
- board = local_assigns.fetch(:board, nil)
|
||||
- block_css_class = type != :boards_modal ? 'row-content-block second-block' : ''
|
||||
- is_not_boards_modal_or_productivity_analytics = type != :boards_modal && type != :productivity_analytics
|
||||
- block_css_class = is_not_boards_modal_or_productivity_analytics ? 'row-content-block second-block' : ''
|
||||
- user_can_admin_list = board && can?(current_user, :admin_list, board.parent)
|
||||
|
||||
.issues-filters{ class: ("w-100" if type == :boards_modal) }
|
||||
|
@ -155,5 +156,5 @@
|
|||
- if @project
|
||||
#js-add-issues-btn.prepend-left-10{ data: { can_admin_list: can?(current_user, :admin_list, @project) } }
|
||||
#js-toggle-focus-btn
|
||||
- elsif type != :boards_modal
|
||||
- elsif is_not_boards_modal_or_productivity_analytics
|
||||
= render 'shared/issuable/sort_dropdown'
|
||||
|
|
Loading…
Reference in a new issue