Skip to content
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

Enable mail template customization #6037

Closed
kolaente opened this issue Feb 11, 2019 · 4 comments
Closed

Enable mail template customization #6037

kolaente opened this issue Feb 11, 2019 · 4 comments
Labels
type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@kolaente
Copy link
Member

It currently is not possible to customize email templates by using the customize system. I looked in the code, it seems like Gitea does not look for customized templates.

Relevant bit (among others): models/mail.go:167

@techknowlogick techknowlogick added type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Feb 11, 2019
@FalconWu2017
Copy link

The current mail template is too low, and I would like to customize it too.

@zeripath
Copy link
Contributor

I think it actually does look for customisable templates.

@lunny
Copy link
Member

lunny commented Jun 21, 2019

I think @zeripath is right. I haven't test it, but see https://github.com/go-gitea/gitea/blob/master/modules/templates/static.go#L174 . Customize mail template should be OK.

@small75
Copy link

small75 commented Jul 1, 2019

the mechanism of customization works

@lunny lunny closed this as completed Jul 1, 2019
strk added a commit to strk/gitea that referenced this issue Jul 10, 2019
jeffliu27 pushed a commit to jeffliu27/gitea that referenced this issue Jul 18, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

6 participants