mirror of https://github.com/zulip/zulip.git
Restyle privacy page to look like /for/ and "why" pages.
This restyles the privacy page from an older style to a new updated style with the mini-hero and naturally readable width text.
This commit is contained in:
parent
7b88e3eea7
commit
057f9bafb0
|
@ -1,22 +1,43 @@
|
|||
{% extends "zerver/portico.html" %}
|
||||
|
||||
{# Privacy policy. #}
|
||||
{% block title %}
|
||||
<title>Zulip: the best group chat for open source projects</title>
|
||||
{% endblock %}
|
||||
|
||||
{% block customhead %}
|
||||
{{ super() }}
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% stylesheet 'portico' %}
|
||||
{% stylesheet 'landing-page' %}
|
||||
{{ render_bundle('landing-page') }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block portico_content %}
|
||||
|
||||
<div class="app terms-page flex">
|
||||
<div class="app-main terms-page-container white-box">
|
||||
{% include 'zerver/landing_nav.html' %}
|
||||
|
||||
{% if privacy_policy %}
|
||||
{{ render_markdown_path(privacy_policy) }}
|
||||
{% else %}
|
||||
{% trans %}
|
||||
This installation of Zulip does not have a configured privacy policy.
|
||||
Contact this <a href="mailto:{{ support_email }}">server's administrator</a>
|
||||
if you have any questions.
|
||||
{% endtrans %}
|
||||
{% endif %}
|
||||
<div class="portico-landing why-page">
|
||||
<div class="hero">
|
||||
<h1 class="center">{% trans %}Privacy policy{% endtrans %}</h1>
|
||||
</div>
|
||||
<div class="main">
|
||||
<div class="padded-content">
|
||||
<div class="inner-content">
|
||||
{% if privacy_policy %}
|
||||
{{ render_markdown_path(privacy_policy) }}
|
||||
{% else %}
|
||||
{% trans %}
|
||||
This installation of Zulip does not have a configured privacy policy.
|
||||
Contact this <a href="mailto:{{ support_email }}">server's administrator</a>
|
||||
if you have any questions.
|
||||
{% endtrans %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue