-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Improve customizability and consistency of templates #7280
Comments
I think the settings that allow you to customise the template names are now deprecated? |
I'm not aware of deprecation for |
Then this would be a good opportunity to clean them up! 😄 |
This converts a few more of our inline HTML templates to Jinja. This is somewhat part of #7280 and should make it a bit easier to customize these in the future.
Another idea, per #8444 (comment):
|
on a related but somewhat tangential note, there are also some static files in https://github.com/matrix-org/synapse/tree/master/synapse/static, whose content or styling might want customising too. It would be nice to give the admin the option to do so. |
This was solved in #8444.
This was solved in #8037. |
at least Kate (KDE's Advanced Text Editor) understands .html.j2 and offers highlighting for both HTML and Jinja2 at once, so use of this extension seems like a win to me |
#10596 consolidates all custom template directories into one. Edit: it has been merged, and support for legacy template directories is scheduled to be removed in October. |
Is this now, basically, done? We could remove the deprecated "pick a template name" options but generally I feel like they are fairly harmless? |
opened #10735 to track this |
I think that's all that's remaining, yes! I do find less having fewer config options a good goal, but I'm not sure that's worth it in this case. |
alright, I'm going to close this then. |
Some new templates were added recently that dealt with SSO (#7102, #7240, #7279, #7067), but I think this is a wider issue.
There's a few oddities with the templates used in Synapse:
account_validity
,saml2_config
,sso
,email
,user_consent
.account_renewed_html_path
setting vs. SSO uses hard-coded names).I think there's a few concrete things we could do to improve this situation:
The text was updated successfully, but these errors were encountered: