Remove all fa_icon
This commit is contained in:
parent
af0f8f01e1
commit
01adb452f0
16 changed files with 36 additions and 36 deletions
|
@ -2,30 +2,30 @@
|
|||
%td
|
||||
- unless friend.available
|
||||
%span.negative-hint
|
||||
= fa_icon('times')
|
||||
= material_symbol('close')
|
||||
|
||||
= t 'admin.friend_servers.disabled'
|
||||
%samp= friend.domain
|
||||
%td
|
||||
- if friend.accepted?
|
||||
%span.positive-hint
|
||||
= fa_icon('check')
|
||||
= material_symbol('check')
|
||||
|
||||
= t 'admin.friend_servers.enabled'
|
||||
- elsif friend.i_am_pending?
|
||||
= fa_icon('hourglass')
|
||||
= material_symbol('hourglass')
|
||||
|
||||
= t 'admin.friend_servers.pending'
|
||||
- elsif friend.they_are_pending?
|
||||
%span.warning-hint
|
||||
= fa_icon('hourglass')
|
||||
= material_symbol('hourglass')
|
||||
|
||||
= t 'admin.friend_servers.pending_you'
|
||||
- else
|
||||
%span.negative-hint
|
||||
= fa_icon('times')
|
||||
= material_symbol('close')
|
||||
|
||||
= t 'admin.friend_servers.disabled'
|
||||
%td
|
||||
= table_link_to 'pencil', t('admin.friend_servers.edit_friend'), edit_admin_friend_server_path(friend)
|
||||
= table_link_to 'times', t('admin.friend_servers.delete'), admin_friend_server_path(friend), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }
|
||||
= table_link_to 'edit', t('admin.friend_servers.edit_friend'), edit_admin_friend_server_path(friend)
|
||||
= table_link_to 'close', t('admin.friend_servers.delete'), admin_friend_server_path(friend), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }
|
||||
|
|
|
@ -10,16 +10,16 @@
|
|||
.fields-group
|
||||
- if @friend.accepted?
|
||||
%span.positive-hint
|
||||
= fa_icon('check')
|
||||
= material_symbol('check')
|
||||
|
||||
= t 'admin.friend_servers.enabled'
|
||||
- elsif @friend.pending?
|
||||
= fa_icon('hourglass')
|
||||
= material_symbol('hourglass')
|
||||
|
||||
= t 'admin.friend_servers.pending'
|
||||
- else
|
||||
%span.negative-hint
|
||||
= fa_icon('times')
|
||||
= material_symbol('close')
|
||||
|
||||
= t 'admin.friend_servers.disabled'
|
||||
.action-buttons
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue