{% extends "events.html" %}
{% load i18n %}
{% load sekizai_tags %}
{% load goscale_tags %}

{% block events_content %}
	{% if posts %}
		<div class="goscale-plugins-calendar content">
			<div class="box-sidebar">
				<div class="boxtop"><div></div></div>
				<div class="boxcontent">
					<dl id="shortnews" class="ContentList">
						{% if title %}
							<dt>
								<div class="TitleContainer">
									<span id="shortnewsFeedTitle">{{ title }}</span>
								</div>
							</dt>
						{% endif %}
						<dd>
							<div id="shortnewsContainer" class="ContentListDescription">
								{% for event in posts %}
									<div id="shortNewsContent">
										<div class="snTitle">
											<a href="{{ request.path }}{% goscale_plugin_post event %}">{{ event.title|safe }}</a>
										</div>
										<div class="EntryDate">{{ event.when }}</div>
										<div class="snDescription">
											{% if event.where %}
												<span class="LocationLabel">{% trans "Location" %}: </span>{{ event.where }}
											{% endif %}
										</div>
									</div>
								{% endfor %}
							</div>
							<div class="RssLink">
								<a href="{{ url }}" target="_blank">{% trans "RSS" %}</a>
							</div>
						</dd>
					</dl>
				</div>
				<div class="boxbottom"><div></div></div>
			</div>
		</div>
	{% endif %}
{% endblock %}