diff --git a/contact/templates/contact/contact.html b/contact/templates/contact/contact.html index ed05e9bd..3284695a 100644 --- a/contact/templates/contact/contact.html +++ b/contact/templates/contact/contact.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load wagtailcore_tags wagtailimages_tags %} @@ -7,7 +7,7 @@

{{ page.title }}

- {{ page.specific.description | richtext }} + {{ page.specific.description|richtext }} {% if page.specific.phone %}
Phone
@@ -21,9 +21,7 @@

{{ page.title }}

{% if page.specific.website %}
Website
-
- {{ page.specific.website }} -
+
{{ page.specific.website }}
{% endif %} {% if page.addresses.count %} @@ -31,7 +29,7 @@

Address(es)

{% for address in page.addresses.all %} -
{{ address.address_type | title }}
+
{{ address.address_type|title }}
{{ address }}
{% endfor %}
@@ -42,7 +40,7 @@

Worship time(s)

{% for worship_time in page.worship_times.all %} -
{{ worship_time.get_worship_type_display | title }}
+
{{ worship_time.get_worship_type_display|title }}
{{ worship_time.worship_time }}
{% endfor %}
@@ -54,9 +52,7 @@

Worship time(s)

@@ -82,35 +78,27 @@

Presiding clerk(s)

{% if quarterly_meetings %} -

Quarterly Meetings

- {% endif %} {% if monthly_meetings %} -

Monthly Meetings

- {% endif %} {% if worship_groups %} @@ -119,23 +107,18 @@

Worship Groups

{% endif %}
-
- - {% if page.articles_authored.count %}

Articles

{% for article in page.articles_authored.all %} - {% include "magazine/magazine_article_summary.html" with article=article.article %} + {% include 'magazine/magazine_article_summary.html' with article=article.article %} {% endfor %} {% endif %} @@ -146,29 +129,23 @@

Archive Articles

{% for article in page.archive_articles_authored.all %}
  • {{ article.article.issue }} - - - {{ article.article.title }} - + {{ article.article.title }}
  • {% endfor %} - {% endif %} {% if page.books_authored.count %}

    Books

    {% for book_author in page.books_authored.all %} - {% with book_author.book as book %} + {% with book=book_author.book %}
    - - {{ book }} - + {{ book }}
    - {% image book.image max-150x150 class="float-left me-2" %} + {% image book.image max - 150 x150 class='float-left me-2' %} {% if book.authors.count %}
      @@ -185,7 +162,7 @@

      Books

    {% endif %} - {{ book.description | richtext | truncatewords_html:30 }} + {{ book.description|richtext|truncatewords_html:30 }}
    {% endwith %} @@ -195,8 +172,8 @@

    Books

    {% if page.specific.library_items_authored.count %}

    Library items

    {% for item_authored in page.specific.library_items_authored.all %} - {% with item_authored.library_item as library_item %} - {% include "library/library_item_card.html" %} + {% with library_item=item_authored.library_item %} + {% include 'library/library_item_card.html' %} {% endwith %} {% endfor %} {% endif %} @@ -205,13 +182,80 @@

    Library items

    Memorials

    {% endif %} -{% endblock content %} +{% endblock %} + +{% block extra_js %} + +{% endblock extra_js %} + + \ No newline at end of file