Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_sort_dropdown.html.haml « labels « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 07e96eea0624aec383d35f3ce88870ee47f128de (plain)
1
2
3
4
5
6
7
8
9
- sort_title = label_sort_options_hash[@sort] || sort_title_name_desc
.dropdown.inline
  %button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown' } }
    = sort_title
    = icon('chevron-down')
  %ul.dropdown-menu.dropdown-menu-right.dropdown-menu-sort
    %li
      - label_sort_options_hash.each do |value, title|
        = sortable_item(title, page_filter_path(sort: value), sort_title)