Files @ ecabf31e54b9
Branch filter:

Location: symposion_app/pinaxcon/templates/cms_pages/news_index_page.html

Christopher Neugebauer
Assorted fixes (#47)

* Invokes the site tree fix from previous fixes.

* Adds a disclaimer noting that previous years’ accounts have not been carried over.

Fixes #43

* Adds proposal type to the proposal summary page.

Fixes #40

* Adds travel/accommodation assistance to the proposals page, but makes it only visible to speakers in the proposal, or review managers.

Fixes #41.
Fixes #42.

* Reduces a lot of the whitespace in the header and footer.

Fixes #44

* Proposals review page now shows information for every speaker on a proposal.

Fixes #45

* Makes sure that non_field_errors are displayed by forms.

Fixes #37
{% extends "site_base_wagtail.html" %}

{% load staticfiles %}
{% load wagtailcore_tags %}
{% load wagtailimages_tags %}

{% load sitetree %}
{% load i18n %}

{% block body_class %}template-blogpage{% endblock %}

{% block head_title %}{{ page.title }}{% endblock %}

{% block body %}
  {% block content %}
    {% include "cms_pages/content_page_header_panel.html" %}

    {% if page.child_pages %}
      {% for item in page.child_pages %}
        <div class="panel panel__compact">
          <div class="panel--content">
            <div class="panel--1-3">
              <div class="portrait">
                {% image item.portrait_image width-640 as portrait_image %}
                <div style="background-image: url('{{ portrait_image.url }}');" class="portrait--img"></div>
              </div>
            </div>
            <div class="panel--2-3">
              <h2>{{ item.title }}</h2>
              <p class="lede"><em>{{ item.date|date:"j F Y" }}</em>{{ item.intro }}</p>
              <a href="{{ item.url }}" class="btn">Read more</a>
            </div>
          </div>
        </div>
      {% endfor %}
      <div class="panel panel__compact"></div>
    {% endif %}

  {% endblock %}
{% endblock %}