{% extends "page.html" %} {% load cachedfile %} {% load call %} {% load markup %} {% block htmlhead %} {% endblock %} {% block script %} $(function() { initPlaceMap({{ place.coords.coords.0 }}, {{ place.coords.coords.1 }}, "{{ place.name }}"); }); {% endblock %} {% block content %}

{{ place.display_name }}

Coordinates: {{ place.coords.coords.0|floatformat:2 }}; {{ place.coords.coords.1|floatformat:2 }}

{% if place.wiki_content %} {{ place.wiki_content|force_escape|urlize|markdown }} {% else %} {% if not user.is_anonymous %} We don't have a description for this place yet, care to help? {% endif %} {% endif %}

{% call "_star_rating.html" with entity=place %}

Comments

{% if not user.is_anonymous %}


{% endif %} {% for comment in place.placecomment_set.all %}
{{ comment.user.username }} said on {{ comment.date_added|date }}: {% ifequal comment.user user %}(delete){% endifequal %} {{ comment.content|markdown:"safe" }}
{% empty %} No user comments yet! {% endfor %}

{% if place.wiki_content and not user.is_anonymous %} Edit {% endif %}

{% endblock %}