Back

Template Source: three_column_base.html

{% extends "two_column_base.html" %} {% block main_content %} <div class="grid_7" id="content_main"> {% block center_content %} Main {% endblock %} </div> <div class="grid_3" id="right_nav"> {% block right_content %} {% load markup side_bar chunks %} <div style="text-align:center;position:absolute;top:0px;"> <a style="text-align:center;" href="/"> <img style="height:211px;" src="{{ STATIC_URL }}images/gen_122.1.gif" alt="Hope's Hope logo" title="Hope's Hope"></img> </a> <p style="font-style: italic;">Survive &amp; Thrive</p> </div> <div id="right-column-spacer"> </div> {% get_upcoming_events 2 as upcoming_events_list %} {% if upcoming_events_list %} <div> <h2><a href="{% url all-events %}">Upcoming Events</a></h2> {% for event in upcoming_events_list %} <h3 class="event-title"><a href="{{ event.get_absolute_url }}">{% if event.logo %}<img alt="{{ event.title }}" src="{{ event.logo.url }}" />{% else %}{{ event.title }}{% endif %}</a></h3> {% endfor %} <hr /> </div> {% endif %} {% get_recent_events 2 as recent_events_list %} {% if recent_events_list %} <div> <h2><a href="{% url all-events %}">Recent Events</a></h2> {% for event in recent_events_list %} <h3 class="event-title"><a href="{{ event.get_absolute_url }}">{{ event.title }}</a></h3> {% endfor %} <hr /> </div> {% endif %} {% get_latest_news 2 as latest_news_list %} {% if latest_news_list %} <div> <h2><a href="{% url all-news %}">Latest News</a></h2> {% for news in latest_news_list %} <h3 class="news-title">{{ news.title }}</h3>{{ news.body|markdown|truncatewords_html:20 }} {% endfor %} <hr /> </div> {% endif %} {% chunk "right_column_links" %} {% endblock %} </div> <div class="clear"></div> {% endblock %}