25 Commits (0f54f42646ca08a98b9b07ea069ff8e6236967d4)

Author SHA1 Message Date
mrsdizzie 04003d9dc7 Make distinction between DisplayName and Username in email templates (#6495)
* Make distinction between DisplayName and Username in email templates

Store the actual username in the variable named Username and store the
separate DisplayName in another variable. This allows us to access the
actual username when we need, which currently fails if a user has set a
full name.

Fixes #6161

* Use u.Name directly

No need for extra function, also change use in all mail sending
functions here

* Don't include Username when not used
5 years ago
cezar97 51ba3df5ff Add `noreferrer` to rel='noopener` for <a> tags (#4328) 6 years ago
Michael Kuhn f86af9c280 Mention the possibility of resetting the password for new accounts (#3812)
This solves the problem of administrators creating accounts for users
that then do not know their initial password (without the administrator
sending it to them via some other channel).
6 years ago
Arif 6e98812ecf Fix copy in email templates (#2801) 7 years ago
Jonas Östanbäck b93568cce4 xxx_active_code_live setting in printed in hours and minutes instead … (#1814)
* xxx_active_code_live setting in printed in hours and minutes instead of just hours

* Update app.ini description of xxx_code_lives settings
7 years ago
Jonas 16732fbfde Removed email copyright year (#1348) 7 years ago
Avelino 7e09f80ee3 Fixed project name on repo template mail 8 years ago
Bwko 5ab85372da Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs

* Replaced gogs.io/docs with docs.gitea.io
8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon f1b8d52eb3 #2854 fix no mail notification when issue is closed/reopened 8 years ago
Adam Strzelecki da2585c11e Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.

1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}

2. Cleans all trailing white-space

3. Adds trailing last line-break to each file
9 years ago
Unknwon d2808e38fe fix #1979 9 years ago
Unknwon 21e13cb51e #1525 Triggere mailer for admin created accounts 9 years ago
Unknwon 562e47f31c finish all new template for current ones 9 years ago
Unknwon 9d36fc6986 finish new auth e-mails 9 years ago
Unknwon 373731f5e8 user gomail and new activate account email tpl
- #1496: fallback plain text
- #1002: add date header
- #913: fix encoding of header
9 years ago
Peter f34b04cfc0 Template for email activation email 10 years ago
Mathieu Gagnon 3549fb0ea8 Remove APP_LOGO setting 10 years ago
Tristan Storch 69e332f432 Removed trailing white spaces
Removed trailing whitespaces with

```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```

and some handwork.
10 years ago
Unknown 9924e65ca1 In progress of name template name constant 10 years ago
Unknown 02687cbdf3 Add mail notify for new collaborator 10 years ago
twitchyliquid64 d304a23787 Corrected grammar and spelling mistakes in templates. Normalizing to American English. 10 years ago
Unknown b7c3b0cc73 Add reset password, fix #58 10 years ago
Unknown 35d473f04a Finish verify email 10 years ago
Unknown ddbd2ce152 Add register mail tpl 10 years ago