47 lines
2.1 KiB
HTML
47 lines
2.1 KiB
HTML
<div class="row">
|
|
<div class="span8">
|
|
<div class="row">
|
|
<div class="span8">
|
|
<article itemscope itemtype="http://schema.org/EducationEvent">
|
|
<header>
|
|
<h1 itemprop="name"><%= item[:title] %></h1>
|
|
<p>
|
|
<strong>Termin:</strong>
|
|
<span itemprop="startDate" content="<%= @item[:startdate].strftime("%Y-%m-%d") %>T19:30"><%= @item[:startdate].strftime("%d.%m.%Y") %>, 19:30 Uhr</span>
|
|
</p>
|
|
<p>
|
|
<strong>Referent:</strong>
|
|
<ul class="commaseparated">
|
|
<% @item[:speakers].each do |speaker| %>
|
|
<li itemprop="performer" itemscope itemtype="http://schema.org/Person">
|
|
<span itemprop="name"><%= speaker[:name] %></span><% if speaker[:affiliation]%> (<%= speaker[:affiliation] %>)<% end %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
</p>
|
|
<p>
|
|
<strong>Ort:</strong>
|
|
<span itemprop="location" itemscope itemtype="http://schema.org/Location">
|
|
<span itemprop="name">Stadtbibliothek am Mailänder Platz</span>, Max-Bense-Forum (UG)
|
|
</span>
|
|
</p>
|
|
</header>
|
|
<section itemprop="description">
|
|
<%= yield %>
|
|
</section>
|
|
</article>
|
|
</div>
|
|
<% latest_articles_referred_to(item.identifier).each do |item| %>
|
|
<div class="span8">
|
|
<%= render 'item_intro', :item => item, :extended => true %>
|
|
<p>
|
|
<a itemprop="blogPost" href="<%= item.path() %>">Zum Artikel</a>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
<div class="span4">
|
|
<div id="sidebar"></div>
|
|
<script type="text/javascript">$("#sidebar").load("/sidebar/index.html");</script>
|
|
</div>
|
|
</div>
|