diff --git a/peachjam/templates/peachjam/gazette_list.html b/peachjam/templates/peachjam/gazette_list.html index 3291f9162..51bdc9c17 100644 --- a/peachjam/templates/peachjam/gazette_list.html +++ b/peachjam/templates/peachjam/gazette_list.html @@ -24,60 +24,56 @@

{% endblock %} {% include 'peachjam/_quick_search.html' %} -
- {% block localities %} - {% if not locality %} - {% include 'peachjam/_gazette_localities.html' %} - {% endif %} - {% endblock %} - {% if doc_count %} -

- {% blocktrans trimmed count counter=doc_count %} - {{ counter }} gazette - {% plural %} - {{ counter }} gazettes - {% endblocktrans %} -

- {% block years-list %} -
-
- {% for year in years %} -
-
-
-

- {% block gazette-year-link %} - {% if locality %} - {{ year.year }} - {% else %} - {{ year.year }} - {% endif %} - {% endblock %} -

-
- {% blocktrans trimmed count num_gazettes=year.count %} - {{ num_gazettes }} gazette - {% plural %} - {{ num_gazettes }} gazettes - {% endblocktrans %} -
- {% block monthly-chart %} - {% if locality %} - {% url 'gazettes_by_year' locality.code year.year as url %} - {% else %} - {% url 'gazettes_by_year' year.year as url %} - {% endif %} - {% include 'peachjam/_monthly_column_chart.html' %} - {% endblock %} -
+ {% block localities %} + {% if not locality %} + {% include 'peachjam/_gazette_localities.html' %} + {% endif %} + {% endblock %} + {% if doc_count %} +

+ {% blocktrans trimmed count counter=doc_count %} + {{ counter }} gazette + {% plural %} + {{ counter }} gazettes + {% endblocktrans %} +

+ {% block years-list %} +
+ {% for year in years %} +
+
+
+

+ {% block gazette-year-link %} + {% if locality %} + {{ year.year }} + {% else %} + {{ year.year }} + {% endif %} + {% endblock %} +

+
+ {% blocktrans trimmed count num_gazettes=year.count %} + {{ num_gazettes }} gazette + {% plural %} + {{ num_gazettes }} gazettes + {% endblocktrans %}
+ {% block monthly-chart %} + {% if locality %} + {% url 'gazettes_by_year' locality.code year.year as url %} + {% else %} + {% url 'gazettes_by_year' year.year as url %} + {% endif %} + {% include 'peachjam/_monthly_column_chart.html' %} + {% endblock %}
- {% endfor %} +
-
- {% endblock %} - {% endif %} -
+ {% endfor %} +
+ {% endblock %} + {% endif %}
{% endblock %} diff --git a/peachjam/templates/peachjam/gazette_year.html b/peachjam/templates/peachjam/gazette_year.html index 833c11d8d..f9c89b4c3 100644 --- a/peachjam/templates/peachjam/gazette_year.html +++ b/peachjam/templates/peachjam/gazette_year.html @@ -51,20 +51,19 @@

{{ month }} {{ year }}

{% for gazette in items %} - - - {{ gazette.title }} - - - {{ gazette.sub_publication|default:'' }} - - - {{ gazette.number }} - - - {{ gazette.date|date:"Y-m-d" }} - - + {% block gazette-item %} + + + {{ gazette.title }} + + + {{ gazette.frbr_uri_number }} + + + {{ gazette.date|date:"Y-m-d" }} + + + {% endblock %} {% endfor %} {% endif %} {% endfor %}