Commit 74027a0c authored by ludi's avatar ludi
Browse files

Merge branch 'master' of gitlab.constantvzw.org:osp/work.nord

parents 5b3c34f5 cf368bba
......@@ -192,7 +192,7 @@ class ProjectStreamDataBlock(blocks.StreamBlock):
class Meta:
icon='table'
templates = 'projects/block/project-stream-datablock.html'
template = 'projects/blocks/project-stream-datablock.html'
class ProjectStreamBlock (ProjectBaseBlock):
body = blocks.StreamBlock([
......
{% load wagtailcore_tags project_tags %}
<dt>{{ value.name|get_datablock_datarow_display }}<dt>
<dt>{{ value.name|get_datablock_datarow_display }}</dt>
<dd>{{ value.value }}</dd>
\ No newline at end of file
{% load wagtailcore_tags %}
<dl class="project--block project--block--datablock">
{% for datarow in datablock %}
{% for datarow in value %}
{% include_block datarow %}
{% endforor%}
{% endfor %}
</dl>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment