diff --git a/geotrek/trekking/templates/trekking/trek_detail_attributes.html b/geotrek/trekking/templates/trekking/trek_detail_attributes.html index 88480d906b..64d37836f9 100644 --- a/geotrek/trekking/templates/trekking/trek_detail_attributes.html +++ b/geotrek/trekking/templates/trekking/trek_detail_attributes.html @@ -1,259 +1,264 @@ +{% extends "mapentity/mapentity_detail_attributes.html" %} {% load i18n geotrek_tags mapentity_tags %} -

{% trans "Attributes" %}

- - - - - - - - - - - - - - - - - - - - - - {% include "altimetry/elevationinfo_fragment.html" %} - - - - - - -
{{ trek|verbose:"structure" }}{{ trek.structure }}
{{ trek|verbose:"name" }}{{ trek.name }}
{{ trek|verbose:"departure" }}{{ trek.departure }}
{{ trek|verbose:"arrival" }}{{ trek.arrival }}
{{ trek|verbose:"duration" }}{{ trek.duration|duration }}
{{ trek|verbose:"route" }}{% if trek.route %}{{ trek.route|safe }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"labels" }} - {% for label in trek.labels.all %} - {% if label.published %} - +{% block attributes %} + +

{% trans "Attributes" %}

+ + + + + + + + + + + + + + + + + + + + + + {% include "altimetry/elevationinfo_fragment.html" %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% for rating in object.ratings.all %} + + + + + {% endfor %} + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {% for rating in object.ratings.all %} - - - - - {% endfor %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% include "common/publication_info_fragment.html" %} + {% include "mapentity/trackinfo_fragment.html" %} +
{{ trek|verbose:"structure" }}{{ trek.structure }}
{{ trek|verbose:"name" }}{{ trek.name }}
{{ trek|verbose:"departure" }}{{ trek.departure }}
{{ trek|verbose:"arrival" }}{{ trek.arrival }}
{{ trek|verbose:"duration" }}{{ trek.duration|duration }}
{{ trek|verbose:"route" }}{% if trek.route %}{{ trek.route|safe }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"labels" }} + {% for label in trek.labels.all %} + {% if label.published %} + + {% endif %} + {{ label.name }}
+ {% endfor %} +
{{ trek|verbose:"description_teaser" }}{% if trek.description_teaser %}{{ trek.description_teaser|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"ambiance" }}{% if trek.ambiance %}{{ trek.ambiance|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"description" }}{% if trek.description %}{{ trek.description|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"access" }}{% if trek.access %}{{ trek.access|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"advice" }}{% if trek.advice %}{{ trek.advice|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"gear" }}{% if trek.gear %}{{ trek.gear|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"advised_parking" }}{% if trek.advised_parking %}{{ trek.advised_parking|safe }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"public_transport" }}{% if trek.public_transport %}{{ trek.public_transport|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"themes" }} + {% valuelist trek.themes.all %} +
{{ trek|verbose:"difficulty" }}{% if trek.difficulty %}{{ trek.difficulty|safe }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"practice" }}{% if trek.practice %}{{ trek.practice|safe }} + {% else %}{% trans "None" %}{% endif %} +
{{ rating.scale.name }}{{ rating.name }}
{{ trek|verbose:"ratings_description" }}{{ trek.ratings_description|safe|linebreaks }}
{{ trek|verbose:"networks" }} + {% valuelist trek.networks.all %} +
{% trans "Itinerancy" %} + {% if trek.parents %} + {% trans "Child of:" %}
+ {% valuelist trek.parents field='name_display' %} + {% endif %} + {% if trek.children %} + {% trans "Parent of:" %}
+ {% valuelist trek.children field='name_display' %} {% endif %} - {{ label.name }}
- {% endfor %} -
{{ trek|verbose:"description_teaser" }}{% if trek.description_teaser %}{{ trek.description_teaser|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"ambiance" }}{% if trek.ambiance %}{{ trek.ambiance|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"description" }}{% if trek.description %}{{ trek.description|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"access" }}{% if trek.access %}{{ trek.access|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"advice" }}{% if trek.advice %}{{ trek.advice|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"gear" }}{% if trek.gear %}{{ trek.gear|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"advised_parking" }}{% if trek.advised_parking %}{{ trek.advised_parking|safe }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"public_transport" }}{% if trek.public_transport %}{{ trek.public_transport|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"themes" }} - {% valuelist trek.themes.all %} -
{{ trek|verbose:"difficulty" }}{% if trek.difficulty %}{{ trek.difficulty|safe }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"practice" }}{% if trek.practice %}{{ trek.practice|safe }} - {% else %}{% trans "None" %}{% endif %} -
{{ rating.scale.name }}{{ rating.name }}
{{ trek|verbose:"ratings_description" }}{{ trek.ratings_description|safe|linebreaks }}
{{ trek|verbose:"networks" }} - {% valuelist trek.networks.all %} -
{% trans "Itinerancy" %} - {% if trek.parents %} - {% trans "Child of:" %}
- {% valuelist trek.parents field='name_display' %} - {% endif %} - {% if trek.children %} - {% trans "Parent of:" %}
- {% valuelist trek.children field='name_display' %} - {% endif %} -
{{ trek|verbose:"web_links" }} - {% valuelist trek.web_links.all %} -
{% trans "POI types" %} - {% valuelist trek.poi_types %} -
{{ trek|verbose:"information_desks" }} - {% valuelist trek.information_desks.all %} -
{% trans "Source" %} - {% valuelist trek.source.all %} -
{% trans "Portal" %} - {% valuelist trek.portal.all %} -
{% trans "External id" %}{% if trek.eid %}{{ trek.eid|safe }} - {% else %}{% trans "None" %}{% endif %} -
{% trans "Provider" %}{% if trek.provider %}{{ trek.provider|safe }} - {% else %}{% trans "None" %}{% endif %} -
{% trans "Second external id" %}{% if trek.eid2 %}{{ trek.eid2|safe }} - {% else %}{% trans "None" %}{% endif %} -
{% trans "Reservation system" %}{% if object.reservation_system %}{{ object.reservation_system }}{% endif %}
{% trans "Reservation ID" %}{{ object.reservation_id }}
{% trans "Thumbnail" %}
{{ trek|verbose:"web_links" }} + {% valuelist trek.web_links.all %} +
{% trans "POI types" %} + {% valuelist trek.poi_types %} +
{{ trek|verbose:"information_desks" }} + {% valuelist trek.information_desks.all %} +
{% trans "Source" %} + {% valuelist trek.source.all %} +
{% trans "Portal" %} + {% valuelist trek.portal.all %} +
{% trans "External id" %}{% if trek.eid %}{{ trek.eid|safe }} + {% else %}{% trans "None" %}{% endif %} +
{% trans "Provider" %}{% if trek.provider %}{{ trek.provider|safe }} + {% else %}{% trans "None" %}{% endif %} +
{% trans "Second external id" %}{% if trek.eid2 %}{{ trek.eid2|safe }} + {% else %}{% trans "None" %}{% endif %} +
{% trans "Reservation system" %}{% if object.reservation_system %}{{ object.reservation_system }}{% endif %}
{% trans "Reservation ID" %}{{ object.reservation_id }}
{% trans "Thumbnail" %}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{% trans "Accessibility" %}
{{ trek|verbose:"accessibilities" }} + {% valuelist trek.accessibilities.all %} +
{% trans "Accessibility level" %}{% if trek.accessibility_level %}{{ trek.accessibility_level|safe }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"accessibility_infrastructure" }}{% if trek.accessibility_infrastructure %}{{ trek.accessibility_infrastructure|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"accessibility_slope" }}{% if trek.accessibility_slope %}{{ trek.accessibility_slope|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"accessibility_covering" }}{% if trek.accessibility_covering %}{{ trek.accessibility_covering|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"accessibility_exposure" }}{% if trek.accessibility_exposure %}{{ trek.accessibility_exposure|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"accessibility_width" }}{% if trek.accessibility_width %}{{ trek.accessibility_width|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"accessibility_advice" }}{% if trek.accessibility_advice %}{{ trek.accessibility_advice|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
{{ trek|verbose:"accessibility_signage" }}{% if trek.accessibility_signage %}{{ trek.accessibility_signage|safe|linebreaks }} + {% else %}{% trans "None" %}{% endif %} +
- {% include "common/publication_info_fragment.html" %} - {% include "mapentity/trackinfo_fragment.html" %} -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% trans "Accessibility" %}
{{ trek|verbose:"accessibilities" }} - {% valuelist trek.accessibilities.all %} -
{% trans "Accessibility level" %}{% if trek.accessibility_level %}{{ trek.accessibility_level|safe }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"accessibility_infrastructure" }}{% if trek.accessibility_infrastructure %}{{ trek.accessibility_infrastructure|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"accessibility_slope" }}{% if trek.accessibility_slope %}{{ trek.accessibility_slope|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"accessibility_covering" }}{% if trek.accessibility_covering %}{{ trek.accessibility_covering|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"accessibility_exposure" }}{% if trek.accessibility_exposure %}{{ trek.accessibility_exposure|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"accessibility_width" }}{% if trek.accessibility_width %}{{ trek.accessibility_width|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"accessibility_advice" }}{% if trek.accessibility_advice %}{{ trek.accessibility_advice|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
{{ trek|verbose:"accessibility_signage" }}{% if trek.accessibility_signage %}{{ trek.accessibility_signage|safe|linebreaks }} - {% else %}{% trans "None" %}{% endif %} -
+{% endblock attributes %}