Commit eb55cf50 authored by Clement Ho's avatar Clement Ho

Add static dropdown list items

parent 7cf322f1
...@@ -35,20 +35,36 @@ ...@@ -35,20 +35,36 @@
%span.dropdown-light-content %span.dropdown-light-content
@{{username}} @{{username}}
#js-dropdown-assignee.dropdown-menu{ 'data-dropdown' => true } #js-dropdown-assignee.dropdown-menu{ 'data-dropdown' => true }
%ul{ 'data-dynamic' => true } %ul
%li.filter-dropdown %li.filter-dropdown
%button.btn.btn-link %button.btn.btn-link
No assignee
%li.divider
%ul{ 'data-dynamic' => true }
%li.filter-dropdown
%button.btn.btn-link.dropdown-user
%img.avatar.avatar-inline{ 'data-src': '{{avatar_url}}', width: '30' } %img.avatar.avatar-inline{ 'data-src': '{{avatar_url}}', width: '30' }
%strong .dropdown-user-details
{{name}} %span
%span {{name}}
{{username}} %span.dropdown-light-content
@{{username}}
#js-dropdown-milestone.dropdown-menu{ 'data-dropdown' => true } #js-dropdown-milestone.dropdown-menu{ 'data-dropdown' => true }
%ul
%li.filter-dropdown
%button.btn.btn-link
No milestone
%li.divider
%ul{ 'data-dynamic' => true } %ul{ 'data-dynamic' => true }
%li.filter-dropdown %li.filter-dropdown
%button.btn.btn-link %button.btn.btn-link
{{title}} {{title}}
#js-dropdown-label.dropdown-menu{ 'data-dropdown' => true } #js-dropdown-label.dropdown-menu{ 'data-dropdown' => true }
%ul
%li.filter-dropdown
%button.btn.btn-link
No label
%li.divider
%ul{ 'data-dynamic' => true } %ul{ 'data-dynamic' => true }
%li.filter-dropdown %li.filter-dropdown
%button.btn.btn-link %button.btn.btn-link
......
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