Add button to view the Hashtag on the instance from Hashtags in Moderation UI (#31533)

This commit is contained in:
Emelia Smith 2024-08-22 10:42:33 +02:00 committed by GitHub
parent 170c6e9733
commit 376088f6da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 3 deletions

View file

@ -3,9 +3,12 @@
- content_for :heading_actions do
- if current_user.can?(:view_dashboard)
= l(@time_period.first)
= ' - '
= l(@time_period.last)
.time-period
= l(@time_period.first)
= ' - '
= l(@time_period.last)
= link_to t('admin.tags.open'), tag_url(@tag), class: 'button', target: '_blank', rel: 'noopener noreferrer'
- if current_user.can?(:view_dashboard)
.dashboard