This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
zulip
mirror of
https://github.com/zulip/zulip.git
Watch
1
Star
0
Fork
You've already forked zulip
0
Code
Issues
Projects
Releases
Wiki
Activity
45de69465a
zulip
/
templates
/
tests
/
test_markdown.html
6 lines
63 B
HTML
Raw
Normal View
History
Unescape
Escape
Add TERMS_OF_SERVICE setting. This new setting allows the server administrator to add a custom Terms of Service page by supplying the path to a markdown file. Also adds a test.
2016-05-11 19:01:53 +02:00
header
jinja2: Use function interface for render_markdown_path. Apparently, the filters implementation was doing some sort of strange caching, where you would need to restart the server in order to refresh for changes to the markdown content. We fix this by switching to just calling the render_markdown_path function from Jinja2. Fixes #5974.
2017-07-31 22:36:06 +02:00
{{ render_markdown_path(markdown_test_file) }}
Add TERMS_OF_SERVICE setting. This new setting allows the server administrator to add a custom Terms of Service page by supplying the path to a markdown file. Also adds a test.
2016-05-11 19:01:53 +02:00
footer