{% extends "base_place.html" %}{% comment %}{% endcomment %} {% load eb eb_filter mapping %} {% block title %}News {% if is_block %}near{% else %}in{% endif %} {{ place.pretty_name }}{% if is_block %}, {{ place.city_object.name }}{% endif %}{% endblock title %} {% block extrahead %} {% ifnotequal place.slug "unknown" %}{% endifnotequal %} {{ block.super }} {% endblock extrahead %} {% block header %} {% if is_block %}{{ place.from_num }} – {{ place.to_num }} block of {% if place.predir %}{{ place.predir }}. {% endif %}{{ place.street_pretty_name }}{% if place.postdir %} {{ place.postdir }}.{% endif %} {% else %}{{ place.name }} {% endif %} {% endblock header %} {% block place_content %}
{% ifnotequal place.slug "unknown" %}

{{ place.pretty_name }}

{% if is_block %}

Show news within:

{% endif %}
{% if USER %} {% endif %}
{% endifnotequal %}
{% if newsitem_list %} {% regroup newsitem_list by item_date|friendlydate as newsitem_list_byday %} {% for daygroup in newsitem_list_byday %}

{% if not show_upcoming %}New{% endif %} {{ daygroup.grouper }}

{% regroup daygroup.list by schema as newsitem_list_byschema %} {% for schemagroup in newsitem_list_byschema %} {% with schemagroup.list|length as num_newsitems %} {% with hidden_schema_list|contains:schemagroup.grouper as is_hidden %}

{% map_icon_img schemagroup.grouper %} {% if schemagroup.grouper.is_special_report %}Special report: {{ schemagroup.grouper.name }}{% else %}{{ num_newsitems }} {% schema_plural_name schemagroup.grouper num_newsitems %}{% endif %} {% if USER %}{% if is_hidden %}Show{% else %}Hide{% endif %}{% endif %}

{% endwith %} {% endwith %} {% endfor %} {% endfor %}

{% if show_upcoming %} {% if not is_latest_page %}← Earlier upcoming events for {{ place.pretty_name }}{% endif %} {% if next_day %}More upcoming →{% endif %} {% else %} {% if not is_latest_page %}← Most recent news for {{ place.pretty_name }}{% endif %} {% if next_day %}Older news →{% endif %} {% endif %}

{% else %}

We haven't found any news available for this area recently.

{% endif %} {% ifnotequal place.slug "unknown" %}

Sign up for:

{% endifnotequal %}
{% block extracontent %}{% endblock extracontent %}
{% endblock place_content %}