mirror of https://github.com/mastodon/mastodon
Add button to view the Hashtag on the instance from Hashtags in Moderation UI (#31533)
This commit is contained in:
parent
170c6e9733
commit
376088f6da
|
@ -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 {
|
||||
|
|
|
@ -3,10 +3,13 @@
|
|||
|
||||
- content_for :heading_actions do
|
||||
- if current_user.can?(:view_dashboard)
|
||||
.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
|
||||
.dashboard__item
|
||||
|
|
|
@ -898,6 +898,7 @@ en:
|
|||
name: Name
|
||||
newest: Newest
|
||||
oldest: Oldest
|
||||
open: View Publicly
|
||||
reset: Reset
|
||||
review: Review status
|
||||
search: Search
|
||||
|
|
Loading…
Reference in New Issue