Change account moderation notes to make links clickable (#22553)
* Change account moderation notes to make links clickable Fixes #22539 * Fix styling of account moderation note links
This commit is contained in:
		
							parent
							
								
									883299e6a9
								
							
						
					
					
						commit
						83bc09cf11
					
				
					 2 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1572,6 +1572,15 @@ a.sparkline {
 | 
			
		|||
          margin-bottom: 0;
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      a {
 | 
			
		||||
        color: $highlight-text-color;
 | 
			
		||||
        text-decoration: none;
 | 
			
		||||
 | 
			
		||||
        &:hover {
 | 
			
		||||
          text-decoration: underline;
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &__actions {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,7 @@
 | 
			
		|||
      = l report_note.created_at.to_date
 | 
			
		||||
 | 
			
		||||
  .report-notes__item__content
 | 
			
		||||
    = simple_format(h(report_note.content))
 | 
			
		||||
    = linkify(report_note.content)
 | 
			
		||||
 | 
			
		||||
  - if can?(:destroy, report_note)
 | 
			
		||||
    .report-notes__item__actions
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue