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

@ -244,6 +244,11 @@ $content-width: 840px;
display: inline-flex;
flex-flow: wrap;
gap: 5px;
align-items: center;
.time-period {
padding: 0 10px;
}
}
h2 small {

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

View File

@ -898,6 +898,7 @@ en:
name: Name
newest: Newest
oldest: Oldest
open: View Publicly
reset: Reset
review: Review status
search: Search