~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/privacy_policy.html

merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "base.html" %}
 
2
{% load wl_markdown %}
 
3
 
 
4
{% block title %}Privacy policy {{ cur_lang }} {{ block.super }}{% endblock %}
 
5
 
 
6
{% block extra_head %}
 
7
{{ block.super}}
 
8
<link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/wiki.css" />
 
9
{% endblock %}
 
10
 
 
11
{% block content_header %}
 
12
    <h1>Privacy Policy</h1>
 
13
{% endblock %}
 
14
{% block content_main %}
 
15
<div class="blogEntry">
 
16
    {% with languages|length as count %}
 
17
    {% if count > 0 %}
 
18
    <p>
 
19
        This page is also available as:
 
20
        {% for lang, slug in languages %}
 
21
            {# The if statement has to be directly after the link, otherwise we have unwanted spaces #}
 
22
            <a href="{% url 'policy_translated' slug %}">{{ lang }}</a>{% if count > 1  and forloop.revcounter0 == 1 %} and
 
23
        {% elif count > 1 and forloop.revcounter0 != 0 %}, {% endif %}
 
24
        {% endfor %}
 
25
    </p>
 
26
    {% endif %}
 
27
    {% endwith %}
 
28
    
 
29
    {{ text|wl_markdown }}
 
30
</div>
 
31
{% endblock %}