{% extends "base.html" %} {% load eb humanize eb_filter django_static mapping %} {% block title %}{% METRO_NAME %} {{ schema.plural_name }}{% endblock %} {% block extrahead %} {% slimall %} {% endslimall %} {% endblock %} {% block content %}

{% map_icon_img schema %} {{ schema.plural_name|capfirst }}

{{ schema.short_description }}

{% block extradescription %}{%endblock%}

About this section

Source
{{ schema.short_source|default:"–" }}
Updated
{{ schema.update_frequency|default:"–" }}
{% if schema.allow_charting %} {% with "filter/" as search_url %} {% include "db/snippets/filter_left_nav.html" %} {% endwith %} {% endif %} {% if schema.allow_charting %} {% if date_chart %}
{% with date_chart.dates|first as first_date %} {% with date_chart.dates|last as last_date %}

{{ first_date.date|date:"N j, Y" }} – {{ last_date.date|date:"N j, Y" }}

{% endwith %} {% endwith %}

{{ date_chart.total_count|intcomma }} {% schema_plural_name schema date_chart.total_count %}

{% include "db/snippets/date_chart.html" %}
{% endif %} {% for location_chart in location_chartfield_list %}

By {{ location_chart.location_type.name }}

{% for location in location_chart.locations %} {% endfor %} {% comment %} {% endcomment %} {% if not location_chart.locations|length|lessthan:9 %} {% endif %}
{{ location.location.name }} {{ location.total|intcomma }} {% widthratio location.total date_chart.total_count 100 %}%
Unknown {{ location_chart.unknown|intcomma }} {% widthratio location_chart.unknown date_chart.total_count 100 %}%
See all {{ location_chart.location_type.plural_name }}…
{% endfor %} {% for lookup in lookup_list %}

By {{ lookup.sf.pretty_name }}

{% for value in lookup.top_values %} {% endfor %}
{{ value.lookup.name }} {% if value.total %}{% endif %} {{ value.total|intcomma }} {% widthratio value.total date_chart.total_count 100 %}%
See all {{ lookup.sf.pretty_name_plural }}…
{% if lookup.sf.is_many_to_many_lookup %}

Percentages may add up to more than 100 because {{ schema.plural_name }} may have multiple {{ lookup.sf.pretty_name_plural }}.

{% endif %}
{% endfor %} {% else %} {# If schema is uncharted, show a list of most recent items instead #} {% if newsitem_list %}

Most recent {{ schema.plural_name }}

{% endif %} {% endif %}
{% endblock %}