diff options
author | Bagas Sanjaya <bagasdotme@gmail.com> | 2020-08-11 09:38:30 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 22:38:30 -0400 |
commit | a4ba1ad5ed6415ffecd2a6d1234741b4c2532e35 (patch) | |
tree | 2c042f0c84863ca067fc68c8ab39210c2e9f9dd7 /templates/admin | |
parent | 0cc21fb72d7b126f140a064c9b9b24f8ee0de2c6 (diff) | |
download | gitea-a4ba1ad5ed6415ffecd2a6d1234741b4c2532e35.tar.gz gitea-a4ba1ad5ed6415ffecd2a6d1234741b4c2532e35.zip |
Add placeholder text for send testing email button in admin/config (#12452)
* Add placeholder text for send testing email button in admin/config
* Change placeholder text to expecting email address
* Localize placeholder text
* Apply suggestion from @silverwind
ok
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/config.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 1b553230b7..f43cc86fd7 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -237,7 +237,7 @@ {{.CsrfTokenHtml}} <div class="inline field ui left"> <div class="ui input"> - <input type="email" name="email" required> + <input type="email" name="email" placeholder="{{.i18n.Tr "admin.config.test_email_placeholder"}}" size="29" required> </div> </div> <button class="ui green button" id="test-mail-btn">{{.i18n.Tr "admin.config.send_test_mail"}}</button> |