Matěj Kocián
9 years ago
3 changed files with 6 additions and 17 deletions
@ -1,13 +1,9 @@ |
|||
{% extends 'titulnistrana.html'} |
|||
|
|||
{% block body %} |
|||
{% for novinka in novinky %} |
|||
{% if novinka.datum > pred_2_mesici and novinka.zverejneno %} |
|||
{% for novinka in object_list %} |
|||
<p> |
|||
Tady bude novinka. |
|||
{{ novinka.text }} |
|||
</p> |
|||
<img src='{{ novinka.obrazek }}' |
|||
{% endif %} |
|||
<img src='{{ novinka.obrazek.url }}' |
|||
{% endfor%} |
|||
{% endblock %} |
|||
|
@ -1,8 +1,7 @@ |
|||
Trala! |
|||
{% extends 'base.html' %} |
|||
|
|||
HU! |
|||
{% block novinky %} |
|||
{% block content %} |
|||
Tady bude nadpis pro novinky. |
|||
{% include 'novinky.html' %} |
|||
{% include 'seminar/novinky.html' %} |
|||
{% endblock %} |
|||
|
Loading…
Reference in new issue