Commit b66499e4 authored by Dennis Appel's avatar Dennis Appel

Update change wiki links in templates

parent ba58dec5
......@@ -36,7 +36,6 @@
<div class="grid-x">
<div class="cell cell-background-lg" id="category_{{category.id}}" name="category_{{category.id}}">
<h3>{{category.categoryTitle}}</h3>
<a class="link" href="{% url 'wiki:index' %}#item_{{category.wikiEntry.id}}"><button class="hollow button">Wiki</button></a>
</div>
{% for entry in category.getEntries %}
<div class="cell cell-background-lg" id="entry_{{entry.id}}" name="entry_{{entry.id}}">
......@@ -52,11 +51,12 @@
</p>
<button class="button" onclick="checkListToggle(this, {{entry.id}})">Abschlie&szlig;en</button>
{% if entry.wikiEntry.id %}
<a class="link" href="{% url 'wiki:index' %}#item_{{entry.wikiEntry.id}}"><button class="hollow button">Wiki</button></a>
{% endif %}
<a class="link" href="#checklist-navigation"><button class="button hollow">Zur&uuml;ck</button></a>
</div>
{% endfor %}
</div>
<a class="link" href="#checklist-navigation"><button class="button hollow">nach oben</button></a>
</div>
{% endfor %}
</div>
......
......@@ -37,7 +37,7 @@
<div class="cell cell-background-lg vertical-space" id="item_{{entry.id}}" name="item_{{entry.id}}">
<h2>{{entry.wikiTitle}}</h2>
<p>{{entry.wikiText|safe}}</p>
<a class="link" href="#wiki-navigation">Zur&uuml;ck</a>
<a class="link" href="#wiki-navigation">nach oben</a>
{% if entry.wikiexample_set.all %}
......
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