custom columns unfinished

This commit is contained in:
Cervinko Cera
2016-04-20 19:25:47 +02:00
parent 0ee46e4b5e
commit 202cbc26a7
5 changed files with 74 additions and 55 deletions
+17
View File
@@ -58,6 +58,23 @@
</div>
</p>
{% endif %}
{% if cc|length > 0 %}
<p>
<div class="custom_columns">
{% for c in cc %}
{% if entry['custom_column_' ~ c.id]|length > 0 %}
{{ c.name }}:
{% for column in entry['custom_column_' ~ c.id] %}
{{ column.value }}
{% endfor %}
<br />
{% endif %}
{% endfor %}
</div>
</p>
{% endif %}
{% if entry.comments|length > 0 %}
<h3>Description:</h3>