diff --git a/seminar/templates/seminar/soustredeni/seznam_soustredeni.html b/seminar/templates/seminar/soustredeni/seznam_soustredeni.html index 020c78b6..45d2ba75 100644 --- a/seminar/templates/seminar/soustredeni/seznam_soustredeni.html +++ b/seminar/templates/seminar/soustredeni/seznam_soustredeni.html @@ -9,13 +9,13 @@ {# zmena fotky #}{% block header %}soustredeni{% endblock %} -{% block content %}{% if user.is_authenticated %}{# PRACUJE SE STRANKA #} +{% block nadpis1a %}{% block nadpis1b %} + Soustředění +{% endblock %}{% endblock %} + +{% block content %} +{#% if user.is_authenticated %#}{# PRACUJE SE STRANKA #} -

- {% block nadpis1a %}{% block nadpis1b %} - Soustředění - {% endblock %}{% endblock %} -

{# Projdi vsechna soustredeni #} {% for soustredeni in object_list %} @@ -29,30 +29,36 @@ že jste přihlášení.
{% endif %} {# misto soustredeni TODO upravit#} - {% if soustredeni.misto %}

- Soustředění v {{soustredeni.misto}} - od {{soustredeni.datum_zacatku}} do {{soustredeni.datum_konce}} - při {{soustredeni.rocnik.rocnik}}. ročníku M&M + {{soustredeni.get_typ_display}} + {{soustredeni.misto}}

- {% endif %} + {# popis soustredeni #} {% if soustredeni.text %} {% autoescape off %}{{soustredeni.text}}{% endautoescape %} {% endif %} - {# Účastníci #} -

Soustředění se zúčastnili tito účastníci:

- + {% if user.is_authenticated %} + {# Účastníci #} +

Soustředění se zúčastnili tito účastníci:

+ + {% endif %} {% endif %} {% empty %} Žádná soustředění zatím neproběhla! {% endfor %} -{% else %}{% include 'seminar/pracuje_se.html' %}{% endif %}{% endblock %} +{#% else %}{% include 'seminar/pracuje_se.html' %}{% endif %#} + +{% endblock %}