Files
@ 6121ce79cc88
Branch filter:
Location: symposion_app/pinaxcon/templates/_default_sidebar.html - annotation
6121ce79cc88
689 B
text/html
Getting the splash homepage to work via CMS.
Nearly there. Much rubbish / cruft ripped out of site_base.html and content_page.html.
Had to modify cms_pages/models.py to accommodate a "simple" layout option in the homepage
editor.
Still some stuff to do. Styling not quite there yet, but want to checkpoint this.
Nearly there. Much rubbish / cruft ripped out of site_base.html and content_page.html.
Had to modify cms_pages/models.py to accommodate a "simple" layout option in the homepage
editor.
Still some stuff to do. Styling not quite there yet, but want to checkpoint this.
04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 | {% load sponsorship_tags %}
{% load thumbnail %}
{% load pinax_boxes_tags %}
{% sponsor_levels as levels %}
<h4>Sponsors</h4>
<div class="sponsor-list">
{% box "sponsor-top" %}
{% for level in levels %}
{% if level.sponsors %}
<h3 style="margin-top: 3em;">{{ level.name }}</h3>
\
{% for sponsor in level.sponsors %}
<div style="margin: 10px 0;">
<a href="{{ sponsor.external_url }}">
<img src="{% thumbnail sponsor.website_logo '100x60' %}" alt="{{ sponsor.name }}" />
</a>
</div>
{% endfor %}
{% endif %}
{% endfor %}
</div>
|