Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
f1aa0abb
Commit
f1aa0abb
authored
Feb 17, 2018
by
Robin Sonnabend
Browse files
Put protocolspecific metadata in template
/close
#151
parent
a1d41575
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/protocol-template.txt
View file @
f1aa0abb
#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) %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment