refactor: Restructure templates
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
|
||||
{% block content %}
|
||||
<h1>Rules</h1>
|
||||
{% include "fellchensammlung/list-rules.html" %}
|
||||
{% include "fellchensammlung/lists/list-rules.html" %}
|
||||
{% endblock %}
|
@@ -7,10 +7,10 @@
|
||||
Wenn du sehen willst welche Moderationsentscheidungen getroffen werden, schau zu einem späteren Zeitpunkt wieder auf dieser Seite vorbei.
|
||||
Wenn du unzufrieden mit der Entscheidung bist kannst du per Mail an <a href="mailto:info@notfellchen.org">info@notfellchen.org</a> Einspruch einlegen.
|
||||
{% endif %}
|
||||
{% include "fellchensammlung/partial-report.html" %}
|
||||
{% include "fellchensammlung/partials/partial-report.html" %}
|
||||
<h2>Moderationsverlauf</h2>
|
||||
{% if report.get_moderation_actions %}
|
||||
{% include "fellchensammlung/list-moderation-action.html" %}
|
||||
{% include "fellchensammlung/lists/list-moderation-action.html" %}
|
||||
{% else %}
|
||||
Bisher wurden keine Maßnahmen vorgenommen
|
||||
{% endif %}
|
@@ -32,7 +32,7 @@
|
||||
|
||||
<div class="animals">
|
||||
{% for animal in adoption_notice.animals %}
|
||||
{% include "fellchensammlung/partial-animal-card.html" %}
|
||||
{% include "fellchensammlung/partials/partial-animal-card.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
@@ -3,5 +3,5 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
{% include "fellchensammlung/detail-animal-partial.html" %}
|
||||
{% include "fellchensammlung/details/detail-animal-partial.html" %}
|
||||
{% endblock %}
|
@@ -7,6 +7,6 @@
|
||||
href="https://hyteck.de">moanos</a></em>!</p>
|
||||
<h2>{% translate "Aktuelle Vermittlungen" %}</h2>
|
||||
<ul>
|
||||
{% include "fellchensammlung/list-adoption-notices.html" %}
|
||||
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
|
||||
</ul>
|
||||
{% endblock %}
|
@@ -1,6 +1,6 @@
|
||||
<div class="adoption-notices">
|
||||
{% for adoption_notice in adoption_notices %}
|
||||
{% include "fellchensammlung/partial-adoption-notice.html" %}
|
||||
{% include "fellchensammlung/partials/partial-adoption-notice.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="container-list-moderation-actions">
|
||||
{% for moderation_action in moderation_actions %}
|
||||
{% include "fellchensammlung/partial-moderation-action.html" %}
|
||||
{% include "fellchensammlung/partials/partial-moderation-action.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
@@ -1,5 +1,5 @@
|
||||
<div class="container-list-rules">
|
||||
{% for rule in rules %}
|
||||
{% include "fellchensammlung/partial-rule.html" %}
|
||||
{% include "fellchensammlung/partials/partial-rule.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
@@ -3,5 +3,5 @@
|
||||
|
||||
{% block content %}
|
||||
Suche...
|
||||
{% include "fellchensammlung/list-adoption-notices.html" %}
|
||||
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user