Commit f1aa0abb authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Put protocolspecific metadata in template

/close #151
parent a1d41575
#Datum;{{protocol.date|datify_short}}
#Beginn;{{protocol.protocoltype.usual_time|timify_short}}
#Ende;
{% for meta in protocol.metas %}
#{{meta.name}};{{meta.value}}
{% endfor %}
{% for defaultmeta in protocol.protocoltype.metas %}
{% if not defaultmeta.prior %}
#{{defaultmeta.key}};{{defaultmeta.value}}
{% endif %}
{% endfor %}
{% macro render_top(top, use_description=False) %}
......
Supports Markdown
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