Move Google Translate link on DMs
This commit is contained in:
parent
a114a85de4
commit
7415a2ece1
|
@ -108,6 +108,14 @@
|
|||
<div class="block content">
|
||||
{{ToMarkdown .Message}}
|
||||
|
||||
<div class="my-4">
|
||||
<!-- Google Translate link -->
|
||||
<a href="https://translate.google.com/?sl=auto&tl=en&text={{.Message}}&op=translate"
|
||||
target="_blank" class="is-small is-size-7 has-text-success">
|
||||
<i class="fab fa-google mr-1"></i> Open in Google Translate <i class="fa fa-external-link ml-1"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Warn the recipient (only) if this message looks like spam. -->
|
||||
{{if and (ne .SourceUserID $Root.CurrentUser.ID) .IsLikelySpam}}
|
||||
<div class="notification is-warning is-light p-3 content">
|
||||
|
@ -168,14 +176,6 @@
|
|||
<span>Report</span>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
<div class="mt-2">
|
||||
<!-- Google Translate link -->
|
||||
<a href="https://translate.google.com/?sl=auto&tl=en&text={{.Message}}&op=translate"
|
||||
target="_blank" class="is-small is-size-7 has-text-success">
|
||||
<i class="fab fa-google mr-1"></i> Open in Google Translate <i class="fa fa-external-link ml-1"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="block">
|
||||
|
|
Loading…
Reference in New Issue
Block a user