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; |         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 { | ||||||
|  | |||||||
| @ -3,9 +3,12 @@ | |||||||
| 
 | 
 | ||||||
| - content_for :heading_actions do | - content_for :heading_actions do | ||||||
|   - if current_user.can?(:view_dashboard) |   - if current_user.can?(:view_dashboard) | ||||||
|     = l(@time_period.first) |     .time-period | ||||||
|     = ' - ' |       = 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 | ||||||
|  | |||||||
| @ -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 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user