Addid visited_places system. (mostly copy&paste) :P

This commit is contained in:
2020-12-25 19:32:54 +01:00
parent 067bf36118
commit 6b7c71ef30
7 changed files with 65 additions and 9 deletions

View File

@@ -92,9 +92,21 @@
</li>
{% endfor %}
</ul>
{% include 'partials/nav/pagination.html' %}
</div>
</section>
<section class="LP-Section">
<div class="LP-PlaceList">
<h1 class="LP-Headline">{% trans 'Visited places' %}</h1>
<ul class="LP-PlaceList__List">
{% for place in explorer.visited_places.all %}
<li class="LP-PlaceList__Item">
{% include 'partials/place_teaser.html' with place=place extended=True %}
</li>
{% endfor %}
</ul>
{% include 'partials/nav/pagination.html' %}
</div>
</section>