Removing Partial TemplateTag
This commit is contained in:
@@ -26,12 +26,7 @@
|
||||
<h1 class="LP-Headline">{{ place.name }} {% include 'partials/icons/place_favorite.html' %} {% include 'partials/icons/place_visited.html' %}</h1>
|
||||
{% if place.get_hero_image %}
|
||||
<div class="LP-PlaceDetail__Image">
|
||||
{% partial image %}
|
||||
{% set source_url place.get_hero_image.filename.hero.url %}
|
||||
{% set link_url %}
|
||||
{{"#image"|addstr:place.get_hero_index_in_queryset}}
|
||||
{% endset %}
|
||||
{% endpartial %}
|
||||
{% include '../partials/image.html' with source_url=place.get_hero_image.filename.hero.url link_url="#image"|addstr:place.get_hero_index_in_queryset %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</header>
|
||||
@@ -43,23 +38,18 @@
|
||||
<div class="LP-Quickinfo">
|
||||
<section class="LP-Section">
|
||||
{% url 'place_tag_submit' place_id=place.id as tag_submit_url %}
|
||||
{% partial tagging %}
|
||||
{% set config=tagging_config %}
|
||||
{% endpartial %}
|
||||
{% include '../partials/tagging.html' with config=tagging_config %}
|
||||
</section>
|
||||
|
||||
{{votingplace.vote}}
|
||||
<section class="LP-Section">
|
||||
{% partial voting %}
|
||||
{% set place=place %}
|
||||
{% set voting=placevoting %}
|
||||
{% endpartial %}
|
||||
{% include '../partials/voting.html' with voting=placevoting %}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section class="LP-Section">
|
||||
<h1 class="LP-Headline">{% translate 'Map links' %}</h1>
|
||||
{% partial osm_map config=mapping_config %}
|
||||
{% include '../partials/osm_map.html' with config=mapping_config %}
|
||||
<ul class="LP-LinkList">
|
||||
<li class="LP-LinkList__Item">
|
||||
<a target="_blank" href="https://www.google.com/maps?q={{place.latitude|safe}},{{place.longitude|safe}}" class="LP-Link">
|
||||
@@ -137,7 +127,7 @@
|
||||
|
||||
<section class="LP-Section">
|
||||
{% translate 'Images' as headline %}
|
||||
{% partial "placeImageGrid" image_list=place.placeimages.all %}
|
||||
{% include '../partials/placeImageGrid.html' with image_list=place.placeimages.all %}
|
||||
</section>
|
||||
|
||||
</article>
|
||||
|
Reference in New Issue
Block a user