Add: 管理画面での操作履歴フィルタにkmyblue独自項目 (#635)
This commit is contained in:
parent
cfb808b915
commit
8cb4838fb1
4 changed files with 15 additions and 1 deletions
|
@ -23,7 +23,9 @@ module Admin::ActionLogsHelper
|
|||
link_to log.human_identifier, disputes_strike_path(log.target_id)
|
||||
when 'Announcement'
|
||||
link_to truncate(log.human_identifier), edit_admin_announcement_path(log.target_id)
|
||||
when 'IpBlock', 'Instance', 'CustomEmoji'
|
||||
when 'CustomEmoji'
|
||||
link_to log.human_identifier, edit_admin_custom_emoji_path(log.target_id)
|
||||
when 'IpBlock', 'Instance'
|
||||
log.human_identifier
|
||||
when 'CanonicalEmailBlock'
|
||||
content_tag(:samp, (log.human_identifier.presence || '')[0...7], title: log.human_identifier)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue