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; display: inline-flex;
flex-flow: wrap; flex-flow: wrap;
gap: 5px; gap: 5px;
align-items: center;
.time-period {
padding: 0 10px;
}
} }
h2 small { h2 small {

View file

@ -3,10 +3,13 @@
- content_for :heading_actions do - content_for :heading_actions do
- if current_user.can?(:view_dashboard) - if current_user.can?(:view_dashboard)
.time-period
= l(@time_period.first) = l(@time_period.first)
= ' - ' = ' - '
= l(@time_period.last) = 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) - if current_user.can?(:view_dashboard)
.dashboard .dashboard
.dashboard__item .dashboard__item

View file

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