add to view

This commit is contained in:
Pia B
2026-06-08 18:25:59 +02:00
parent cae6079c24
commit b2acda7691
2 changed files with 13 additions and 0 deletions

View File

@@ -90,3 +90,14 @@
.actions
= f.button :button, t('generic.save_changes'), type: :submit
- if @tag.persisted?
%hr.spacer/
%h3= t('admin.tags.audit_log.title')
- if @action_logs.empty?
%p= t('accounts.nothing_here')
- else
.report-notes
= render partial: 'admin/action_logs/action_log', collection: @action_logs
= link_to t('admin.instances.audit_log.view_all'), admin_action_logs_path(action_type: 'update_tag'), class: 'button'

View File

@@ -243,6 +243,7 @@ en-GB:
update_ip_block: Update IP rule
update_report: Update Report
update_status: Update Post
update_tag: Update Hashtag
update_user_role: Update Role
update_username_block: Update Username Rule
actions:
@@ -313,6 +314,7 @@ en-GB:
update_ip_block_html: "%{name} changed rule for IP %{target}"
update_report_html: "%{name} updated report %{target}"
update_status_html: "%{name} updated post by %{target}"
update_tag_html: "%{name} changed rule for %{target}"
update_user_role_html: "%{name} changed %{target} role"
update_username_block_html: "%{name} updated rule for usernames containing %{target}"
deleted_account: deleted account