debian-mirror-gitlab/app/views/shared/groups/_dropdown.html.haml

6 lines
359 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- options_hash = local_assigns.fetch(:options_hash, groups_sort_options_hash)
2022-06-21 17:19:12 +05:30
- groups_sort_options = options_hash.map { |value, title| { value: value, text: title, href: filter_groups_path(sort: value) } }
2018-03-17 18:26:18 +05:30
2022-06-21 17:19:12 +05:30
%div{ data: { testid: 'group_sort_by_dropdown' } }
2023-04-23 21:23:45 +05:30
= gl_redirect_listbox_tag groups_sort_options, project_list_sort_by, data: { placement: 'right' }