aboutsummaryrefslogtreecommitdiffstats
path: root/templates/mail
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2023-01-16 21:58:01 +0100
committerGitHub <noreply@github.com>2023-01-16 14:58:01 -0600
commit8117e41dfa1dd162aa98206f46996fa1973e5632 (patch)
tree1e6f901373dab69e56019ce193de669b2b68deb8 /templates/mail
parent2cc3a6381cab34113fd2dc2c24ef0efc22c4336d (diff)
downloadgitea-8117e41dfa1dd162aa98206f46996fa1973e5632.tar.gz
gitea-8117e41dfa1dd162aa98206f46996fa1973e5632.zip
Add reply hint to mail text (#22459)
Addition to #22056 This PR adds a hint to mail text if replies are supported. I can't tell if the text structure is supported in every language. Maybe we need to put the whole line in the translation file and use parameters.
Diffstat (limited to 'templates/mail')
-rw-r--r--templates/mail/issue/default.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/issue/default.tmpl b/templates/mail/issue/default.tmpl
index d9f7aff4cc..64dbb3df68 100644
--- a/templates/mail/issue/default.tmpl
+++ b/templates/mail/issue/default.tmpl
@@ -84,7 +84,7 @@
<p>
---
<br>
- <a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
+ <a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>{{if .CanReply}} {{.locale.Tr "mail.reply"}}{{end}}.
</p>
</div>
</body>