Commit 5df78122 authored by Robin Sonnabend's avatar Robin Sonnabend

Improve dokuwiki template

parent f067753f
......@@ -465,7 +465,7 @@ class Fork(Element):
or render_type == RenderType.dokuwiki):
equal_signs = level + 2
if render_type == RenderType.dokuwiki:
equal_signs = 6 - level
equal_signs = 5 - level
title_line = "{0} {1} {0}".format("=" * equal_signs, name_line)
content_parts = []
for child in self.children:
......
====== Beschlüsse ======
====== <var>protocol.get_wiki_title()</var>
* <var>protocol.protocoltype.name</var>
<env> if protocol.date is not none </env>
* <var>protocol.date|datify_long</var>
<env> endif </env>
<env> if protocol.start_time is not none and protocol.end_time is not none </env>
* von <var>protocol.start_time|timify</var> bis <var>protocol.end_time|timify</var>
<env> endif </env>
<env> for meta in protocol.metas </env>
<env> if not meta.internal or not protocol.protocoltype.wiki_only_public </env>
* <var>meta.name</var>: <var>meta.value</var>
</env>
</env>
===== Beschlüsse =====
<env> if protocol.decisions|length > 0 </env>
<env> for decision in protocol.decisions </env>
* <var>decision.content</var>
......
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