17 lines
762 B
Plaintext
17 lines
762 B
Plaintext
.card
|
|
.list-group.list-group-horizontal-sm.text-center
|
|
= list_group_item t('.timeline'), timeline_path
|
|
- if APP_CONFIG.dig(:features, :public, :enabled)
|
|
= list_group_item t('.public'), public_timeline_path
|
|
%a.list-group-item.list-group-item-action.dropdown.dropdown-toggle{ class: list ? 'active' : '',
|
|
type: :button, data: { toggle: :dropdown }, aria: { haspopup: true, expanded: false } }
|
|
- if list
|
|
= list.display_name
|
|
- else
|
|
= t(".lists.title")
|
|
.dropdown-menu.dropdown-menu-right.dropdown-menu--lists
|
|
- if current_user.lists.empty?
|
|
.p-3= t(".lists.notice_html")
|
|
- current_user.lists.each do |list|
|
|
%a.dropdown-item{ href: list_timeline_path(list.name) }= list.display_name
|