mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
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.
17 lines
287 B
HTML
17 lines
287 B
HTML
{% extends "zerver/portico.html" %}
|
|
|
|
{# Terms of service. #}
|
|
|
|
{% block portico_content %}
|
|
|
|
<div class="app terms-page">
|
|
<div class="app-main terms-page-container">
|
|
|
|
{% if terms_of_service %}
|
|
{{ terms_of_service|render_markdown_path }}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|