Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 40ef46db rédigé par Eugen Rochko's avatar Eugen Rochko Validation de GitHub
Parcourir les fichiers

Display only domain of report account if remote under comment (#7574)

parent 46061dc0
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -75,7 +75,11 @@ ...@@ -75,7 +75,11 @@
.speech-bubble .speech-bubble
.speech-bubble__bubble= simple_format(@report.comment.presence || t('admin.reports.comment.none')) .speech-bubble__bubble= simple_format(@report.comment.presence || t('admin.reports.comment.none'))
.speech-bubble__owner .speech-bubble__owner
= admin_account_link_to @report.account - if @report.account.local?
= admin_account_link_to @report.account
- else
= @report.account.domain
%br/
%time.formatted{ datetime: @report.created_at.iso8601 } %time.formatted{ datetime: @report.created_at.iso8601 }
- unless @report.statuses.empty? - unless @report.statuses.empty?
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter