{% extends "browsing/generic_detail.html" %}
{% load staticfiles %}
{% load leaflet_tags %}
{% load webpage_extras %}
{% block title %}{{ object }}{% endblock %}
{% block scriptHeader %}
{% leaflet_js %}
{% leaflet_css %}
{% endblock %}
{% block custom %}
{% get_verbose_name place "name" %}
|
{{ object.name }}
|
{% get_verbose_name place "geonames_id" %}
|
{{ object.geonames_id }}
|
Coordinates
|
{{ object.lat|truncatechars:8 }}
{{ object.lng|truncatechars:8 }}
|
{% get_verbose_name place "alt_names" %}
|
{% for x in object.alt_names.all %}
{% if x.id %}
-
{{ x }}
{% endif %}
{% endfor %}
|
{% get_verbose_name place "part_of" %}
|
{% if object.part_of %}
{{ object.part_of }}
{% else %}
No entry
{% endif %}
|
has children |
{% for x in object.has_child.all %}
{% if x.id %}
-
{{ x }}
{% endif %}
{% endfor %}
|
Marc
|
Plane Type
|
Day of Attack
|
{% for x in object.is_target_place.all %}
{{ x }}
|
{{ x.plane_type }}
|
{{ x.date_of_crash }}
|
{% endfor %}
Marc
|
Plane Type
|
Day of Crash
|
{% for x in object.is_crashplace.all %}
{{ x }}
|
{{ x.plane_type }}
|
{{ x.date_of_crash }}
|
{% endfor %}
Person
|
relation type
|
Day of Arrival
|
{% for x in object.get_persons.all %}
{{ x.related_person }}
|
{{ x.relation_type }}
|
{{ x.start_date }}
|
{% endfor %}
Name
|
station_id
|
station_type
|
{% for x in object.place_located.all %}
{{ x.name }}
|
{{ x.station_id }}
|
{{ x.station_type }}
|
{% endfor %}
Date
|
Target
|
{% for x in object.is_target.all %}
{{ x.date }}
|
{{ x.target }}
|
{% endfor %}
Date
|
Person
|
{% for x in object.is_birthplace.all %}
{{ x.date_of_birth }}
|
{{ x.written_name }}
|
{% endfor %}
{% endblock custom%}