|
|
@ -6,14 +6,30 @@
|
|
|
|
%strong= t('admin.accounts.location.title')
|
|
|
|
%strong= t('admin.accounts.location.title')
|
|
|
|
%ul
|
|
|
|
%ul
|
|
|
|
%li= filter_link_to t('admin.accounts.location.all'), local: nil, remote: nil
|
|
|
|
%li= filter_link_to t('admin.accounts.location.all'), local: nil, remote: nil
|
|
|
|
%li= filter_link_to t('admin.accounts.location.local'), local: '1', remote: nil
|
|
|
|
%li
|
|
|
|
%li= filter_link_to t('admin.accounts.location.remote'), remote: '1', local: nil
|
|
|
|
- if selected? local: '1', remote: nil
|
|
|
|
|
|
|
|
= filter_link_to t('admin.accounts.location.local'), {local: nil, remote: nil}, {local: '1', remote: nil}
|
|
|
|
|
|
|
|
- else
|
|
|
|
|
|
|
|
= filter_link_to t('admin.accounts.location.local'), local: '1', remote: nil
|
|
|
|
|
|
|
|
%li
|
|
|
|
|
|
|
|
- if selected? remote: '1', local: nil
|
|
|
|
|
|
|
|
= filter_link_to t('admin.accounts.location.remote'), {remote: nil, local: nil}, {remote: '1', local: nil}
|
|
|
|
|
|
|
|
- else
|
|
|
|
|
|
|
|
= filter_link_to t('admin.accounts.location.remote'), remote: '1', local: nil
|
|
|
|
.filter-subset
|
|
|
|
.filter-subset
|
|
|
|
%strong= t('admin.accounts.moderation.title')
|
|
|
|
%strong= t('admin.accounts.moderation.title')
|
|
|
|
%ul
|
|
|
|
%ul
|
|
|
|
%li= filter_link_to t('admin.accounts.moderation.all'), silenced: nil, suspended: nil
|
|
|
|
%li= filter_link_to t('admin.accounts.moderation.all'), silenced: nil, suspended: nil
|
|
|
|
%li= filter_link_to t('admin.accounts.moderation.silenced'), silenced: '1'
|
|
|
|
%li
|
|
|
|
%li= filter_link_to t('admin.accounts.moderation.suspended'), suspended: '1'
|
|
|
|
- if selected? silenced: '1'
|
|
|
|
|
|
|
|
= filter_link_to t('admin.accounts.moderation.silenced'), {silenced: nil}, {silenced: '1'}
|
|
|
|
|
|
|
|
- else
|
|
|
|
|
|
|
|
= filter_link_to t('admin.accounts.moderation.silenced'), silenced: '1'
|
|
|
|
|
|
|
|
%li
|
|
|
|
|
|
|
|
- if selected? suspended: '1'
|
|
|
|
|
|
|
|
= filter_link_to t('admin.accounts.moderation.suspended'), {suspended: nil}, {suspended: '1'}
|
|
|
|
|
|
|
|
- else
|
|
|
|
|
|
|
|
= filter_link_to t('admin.accounts.moderation.suspended'), suspended: '1'
|
|
|
|
.filter-subset
|
|
|
|
.filter-subset
|
|
|
|
%strong= t('admin.accounts.order.title')
|
|
|
|
%strong= t('admin.accounts.order.title')
|
|
|
|
%ul
|
|
|
|
%ul
|
|
|
|