Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

We should fall back to the default templates if we don't find a particular template in the custom template directory #6583

@richvdh

Description

@richvdh

Currently, if you want to change a single template, you have to copy all of the templates to a custom location, and set email.template_dir. That's a nuisance, and it means that whenever we introduce a new template (as per Synapse 1.4.0), people have to make sure they manually install the new template.

It also repeatedly confuses people who think that they need to set template_dir and do so without realising the implications.

(Also: hiding the template_dir setting under email when it is used for non-email things is very silly.)

A better approach would be to look in the template_dir, and fall back to the default templates if the one we're looking for is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    z-p2(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions