{% extends 'speeches/base.html' %} {% load url from future %} {% load i18n %} {% load humanize %} {% load speech_utils %} {% block title %}Home{% endblock %} {% block content %} {% if paginator.count %}
{% block after_search %}{% endblock %}
{% url "speeches:speaker-list" as url_speaker_list %} {% url "speeches:parentless-list" as url_parentless_list %} {% if LANGUAGE_CODE == 'en' %} {{ count_speeches|intcomma }} speech{{ count_speeches|pluralize:"es" }}{% if count_speakers %}, by {{ count_speakers|intcomma }} speaker{{ count_speakers|pluralize }}{% endif %}{% if count_sections %}, in {{ count_sections|intcomma }} section{{ count_sections|pluralize }}{% endif %} {% else %} {# Hideously long lines, until blocktrans adds trimmed option in Django 1.7... #} {% blocktrans with n=count_speeches|intcomma count c=count_speeches %}1 speech{% plural %}{{ n }} speeches{% endblocktrans %}{% if count_speakers %}; {% blocktrans with n=count_speakers|intcomma count c=count_speakers %}1 speaker{% plural %}{{ n }} speakers{% endblocktrans %}{% endif %}{% if count_sections %}; {% blocktrans with n=count_sections|intcomma count c=count_sections %}1 section{% plural %}{{ n }} sections{% endblocktrans %}{% endif %} {% endif %} {% block instance_blocks %} {% endblock %}
{% else %}
{% if request.is_user_instance %}

{% trans 'Brilliant!' %}

{% trans 'Now you’ve got your own public database for speeches and statements.' %}

{% trans 'However, it’s totally empty. Let’s get started by adding something.' %}

{% trans 'Add your first statement' %}

{% else %}

{% trans 'This is a brand new SayIt site.' %}

{% trans 'Its creator hasn’t yet added any speeches or statements for you to see.' %}

{% trans 'Learn more about SayIt' %}

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