Skip to content
Snippets Groups Projects
Commit 3c97366a authored by Ondrej Rehounek's avatar Ondrej Rehounek
Browse files

main: program page skeleton

parent 4cb2fa55
No related branches found
No related tags found
2 merge requests!607Pirati.cz,!575Feature/pirati cz
......@@ -46,7 +46,7 @@ class ProgramBlock(StructBlock):
class ProgramGroupBlock(StructBlock):
title = CharBlock()
person_list = ListBlock(ProgramBlock())
point_list = ListBlock(ProgramBlock())
class TweetsBlock(StructBlock):
......
{% extends "main/base.html" %}
{% load wagtailcore_tags wagtailimages_tags shared_filters %}
{% block content %}
<header>
<h1 itemprop="headline" class="">
{{ page.title }}
</h1>
</header>
<div class="">
<section>
<p>
{{ page.perex }}
</p>
</section>
<section>
{% for program_group in page.program %}
<div>{# tab navigage #}
{{ program_group.title }}
</div>
{% endfor %}
{% for program_group in page.program %}
{% for program_point in program_group.point_list %}
<div>{# body tabu #}
{{ program_group.icon }}
{{ program_group.title }}
{{ program_group.text }}
</div>
{% endfor %}
{% endfor %}
</section>
</div>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment