-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Refine mail templates #35150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine mail templates #35150
Conversation
e1d2ca4
to
3ff5727
Compare
Co-authored-by: delvh <[email protected]> Signed-off-by: NorthRealm <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
templates/mail/footer_gitea.tmpl
is not right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not right, footer_view_on_gitea.tmpl
is not right either. The HTML layouts are wrong, and it is fragile by passing all variables "." to sub-templates (In history many 500 errors were caused by that).
Recently I don't have time to do further reviews for PRs, other maintainers could help to review and improve, and feel free to dismiss the "change request" if the concerns have been addressed.
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
<p>© <a href="{{AppUrl}}">{{AppName}}</a></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, shouldn't this be only the <p>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand what the screenshot would tell.
It doesn't make sense to render a "sub template" as a whole page.
@wxiaoguang I don't understand why dict is not working as intended. I'm giving up. 😅 |
I think you can revert "sub template" related changes, only make clear changes you need. |
Uh oh!
There was an error while loading. Please reload this page.