camp/content/templates/events.html

55 lines
1.6 KiB
HTML
Raw Normal View History

2017-07-03 08:14:07 +00:00
{% extends 'base.html' %}
{% block content %}
2017-12-19 12:36:21 +00:00
{% include "edit.html" with content=events %}
2017-07-03 08:14:07 +00:00
<div class="large-8 medium-8 columns special-column">
2017-12-18 12:54:04 +00:00
{% if events.image %}
<img src="{{events.image_url}}">
{% endif %}
2017-07-03 08:14:07 +00:00
<div class="index-text">
2017-12-18 12:54:04 +00:00
<h4><a href="{{ events.get_absolute_url }}/" class="big-title">{{events.title}} </a></h4>
2017-07-03 08:14:07 +00:00
<p> {{events.formatted_header|safe}} </p>
<p> {{events.formatted_body|safe}} </p>
2017-12-18 13:44:11 +00:00
{% include "opt.html" with content=events %}
2017-12-19 11:49:08 +00:00
{% include "links.html" with content=events %}
2017-12-19 11:41:34 +00:00
{% include "gallery.html" with gallery=gallery %}
2017-07-03 08:14:07 +00:00
</div>
</div>
<div class="large-4 medium-4 columns">
2017-12-18 14:54:39 +00:00
{% include "related.html" with related=events.children.all %}
2017-08-03 17:44:00 +00:00
<h4 class="sidebar-h4">Events </h4>
2017-07-03 08:14:07 +00:00
<div class="row">
{% for events in latest_content_list %}
<div class="row right-items">
<div class="small-6 columns">
2017-12-18 14:12:43 +00:00
<a href="{{ events.get_absolute_url }}/"> <img src="{{ events.image_url }}"> </a>
2017-07-03 08:14:07 +00:00
</div>
<div class="small-6 columns">
2017-12-18 14:12:43 +00:00
<a href="{{ events.get_absolute_url }}/" class="sidebar-title" >{{ events.title }}</a>
2017-12-18 15:03:10 +00:00
<h6 class="sidebar-date">
<font color="#ef4e5c">
<b> {{ events.datestart }} {% if events.dateend %} - {{events.dateend}} {% endif %} </b>
</font>
{% if events.place %}<br/>{{events.place}}{% endif%}
</h6>
2017-12-18 14:36:20 +00:00
<p> {{ events.formatted_teaser }} </p>
2017-07-03 08:14:07 +00:00
</div>
</div>
{% endfor %}
<a href="{% url 'events_list' %}">more</a>
2017-07-03 08:14:07 +00:00
</div>
</div>
2017-12-18 12:54:04 +00:00
{% endblock %}