Version 1.25 doesn't use the custom email issue template #15085

Open
opened 2025-11-02 11:29:49 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @krzysztofjeziorny on GitHub (Nov 1, 2025).

Description

Gitea 1.25.0 doesn't use the custom email issue template anymore, located at /var/lib/gitea/custom/templates/mail/issue/default.tmpl.

Previous version 1.24.7 had no problems with the file. No paths have changed between the versions. The template is based on the docs' example.

Gitea Version

1.25.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.47.3

Operating System

Debian 13

How are you running Gitea?

systemd service, nginx proxy w/ tls

Database

PostgreSQL

Originally created by @krzysztofjeziorny on GitHub (Nov 1, 2025). ### Description Gitea 1.25.0 doesn't use the custom email issue template anymore, located at `/var/lib/gitea/custom/templates/mail/issue/default.tmpl`. Previous version 1.24.7 had no problems with the file. No paths have changed between the versions. The template is based on the docs' [example](https://docs.gitea.com/administration/mail-templates#example). ### Gitea Version 1.25.0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.47.3 ### Operating System Debian 13 ### How are you running Gitea? systemd service, nginx proxy w/ tls ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 11:29:50 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Nov 2, 2025):

Refactor and update mail templates #35150

cc @lunny @NorthRealm

The templates are moved.

@wxiaoguang commented on GitHub (Nov 2, 2025): Refactor and update mail templates #35150 cc @lunny @NorthRealm The templates are moved.
Author
Owner

@NorthRealm commented on GitHub (Nov 2, 2025):

@wxiaoguang I just wanna say I aint touching UI again without absolute necessity. It was a total disaster. 😅

@NorthRealm commented on GitHub (Nov 2, 2025): @wxiaoguang I just wanna say I aint touching UI again without absolute necessity. It was a total disaster. 😅
Author
Owner

@lunny commented on GitHub (Nov 2, 2025):

@NorthRealm Maybe you can send a docs PR to update the example https://docs.gitea.com/administration/mail-templates#example

@lunny commented on GitHub (Nov 2, 2025): @NorthRealm Maybe you can send a docs PR to update the example https://docs.gitea.com/administration/mail-templates#example
Author
Owner

@krzysztofjeziorny commented on GitHub (Nov 2, 2025):

Thank you for the quick answers.

So the current path for that template is custom/templates/mail/repo/issue/. Moving the file there clears the problem.

Please mark this change as a Breaking Change in release notes, it may be helpful to others.

@krzysztofjeziorny commented on GitHub (Nov 2, 2025): Thank you for the quick answers. So the current path for that template is `custom/templates/mail/`**`repo`**`/issue/`. Moving the file there clears the problem. Please mark this change as a Breaking Change in release notes, it may be helpful to others.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15085