Locatizations.
[wolnelektury.git] / src / club / templates / club / index.html
1 {% extends "base_simple.html" %}
2 {% load i18n %}
3 {% load active_schedule from club %}
4 {% load chunks %}
5
6
7 {% block titleextra %}{% trans "Wolne Lektury potrzebują Twojej pomocy!" %}{% endblock %}
8
9
10 {% block body %}
11
12   <h1>{% trans "Wolne Lektury potrzebują Twojej pomocy!" %}</h1>
13   <div class="white-box normal-text">
14
15     {% chunk 'club' %}
16
17     <p style="margin-top: 2em;">
18       {% with schedule=request.user|active_schedule %}
19         {% if schedule %}
20           <a href="{{ schedule.get_absolute_url }}">{% trans "Gratulacje — wspierasz Wolne Lektury!" %}</a>
21         {% else %}
22           <a style="background:#018189;color:white;border-radius: 10px;padding:1em 2em" href="{% url 'club_join' %}">{% trans "Zacznij wspierać" %}</a>
23         {% endif %}
24       {% endwith %}
25     </p>
26   </div>
27
28 {% endblock %}