zulip/templates
Vishnu KS 139ebf387b support: Pass various realm functions as template context.
We currently have code to calculate the value of realm_icon_url,
admin_emails and default_discount in two diffrent places. With
the addition of showing confirmation links it would become three.
The easiest way to deduplicate the code and make the view cleaner
is by doing the calculations in template. Alternatively one can
write a function that takes users, realms and confirmations as
arguments and sets the value of realm_icon_url, admin_emails and
default_discount appropriately in realm object according to the
type of the confirmation. But that seems more messy than passing
the functions directly to template approach.
2019-10-21 16:52:46 -07:00
..
analytics support: Pass various realm functions as template context. 2019-10-21 16:52:46 -07:00
confirmation templates: Abstract render_bundle behind a Jinja2 macro. 2019-09-17 16:06:33 -07:00
corporate templates: Move page_params from an inline script to the <body> dataset. 2019-09-17 16:06:33 -07:00
tests webhooks/freshdesk/doc.md: Remove unescape_rendered_html kludge. 2019-07-03 15:05:45 -07:00
two_factor two_factor: Add templates for 2-factor-auth setup. 2018-05-02 15:20:49 -07:00
zerver docs: Remove beta tag on email address visibility. 2019-10-21 16:13:04 -07:00
zilencer billing: Move billing related templates from zilencer to corporate. 2018-10-01 15:43:39 -07:00
.gitignore
404.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00
500.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00