Move "Manage list memberships" user action title
This commit is contained in:
parent
91df126132
commit
55cb43c876
|
@ -9,10 +9,10 @@
|
||||||
= nav_entry t('views.navigation.discover'), discover_path, icon: 'compass'
|
= nav_entry t('views.navigation.discover'), discover_path, icon: 'compass'
|
||||||
%ul.nav.navbar-nav
|
%ul.nav.navbar-nav
|
||||||
- if @user.present? && @user != current_user
|
- if @user.present? && @user != current_user
|
||||||
%li.nav-item.d-none.d-sm-block{ data: { toggle: 'tooltip', placement: 'bottom' }, title: t('views.actions.list') }
|
%li.nav-item.d-none.d-sm-block{ data: { toggle: 'tooltip', placement: 'bottom' }, title: t(".list") }
|
||||||
%a.nav-link{ href: '#', data: { target: '#modal-list-memberships', toggle: :modal } }
|
%a.nav-link{ href: '#', data: { target: '#modal-list-memberships', toggle: :modal } }
|
||||||
%i.fa.fa-list.hidden-xs
|
%i.fa.fa-list.hidden-xs
|
||||||
%span.d-none.d-sm-inline.d-md-none= t('views.actions.list')
|
%span.d-none.d-sm-inline.d-md-none= t(".list")
|
||||||
= nav_entry t('views.navigation.notifications'), notifications_path, badge: notification_count, class: 'd-block d-sm-none'
|
= nav_entry t('views.navigation.notifications'), notifications_path, badge: notification_count, class: 'd-block d-sm-none'
|
||||||
%li.nav-item.dropdown.d-none.d-sm-block
|
%li.nav-item.dropdown.d-none.d-sm-block
|
||||||
%a.nav-link.dropdown-toggle{ href: '#', data: { toggle: :dropdown } }
|
%a.nav-link.dropdown-toggle{ href: '#', data: { toggle: :dropdown } }
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
.dropdown-menu
|
.dropdown-menu
|
||||||
%a.dropdown-item.d-block.d-sm-none{ href: '#', data: { target: '#modal-list-memberships', toggle: :modal } }
|
%a.dropdown-item.d-block.d-sm-none{ href: '#', data: { target: '#modal-list-memberships', toggle: :modal } }
|
||||||
%i.fa.fa-list
|
%i.fa.fa-list
|
||||||
= t 'views.actions.list'
|
= t(".list")
|
||||||
- if current_user.blocking?(user)
|
- if current_user.blocking?(user)
|
||||||
%a.dropdown-item{ href: '#', data: { action: :unblock, target: user.screen_name } }
|
%a.dropdown-item{ href: '#', data: { action: :unblock, target: user.screen_name } }
|
||||||
%i.fa.fa-minus-circle
|
%i.fa.fa-minus-circle
|
||||||
|
|
|
@ -249,6 +249,7 @@ en:
|
||||||
new: "Show all new notifications"
|
new: "Show all new notifications"
|
||||||
desktop:
|
desktop:
|
||||||
ask_question: "Ask a question"
|
ask_question: "Ask a question"
|
||||||
|
list: :user.actions.list
|
||||||
notifications:
|
notifications:
|
||||||
index:
|
index:
|
||||||
title: "Notifications"
|
title: "Notifications"
|
||||||
|
@ -494,3 +495,4 @@ en:
|
||||||
privilege: "Check %{user}'s privileges"
|
privilege: "Check %{user}'s privileges"
|
||||||
ban: "Ban Control"
|
ban: "Ban Control"
|
||||||
title: "Actions"
|
title: "Actions"
|
||||||
|
list: "Manage list memberships"
|
||||||
|
|
Loading…
Reference in New Issue