Format speakers properly
This commit is contained in:
parent
21257425e0
commit
d7ecadd47f
3 changed files with 19 additions and 15 deletions
|
|
@ -7,6 +7,8 @@ speakers:
|
|||
-
|
||||
name: Wolfgang Stief
|
||||
affiliation: GUUG München
|
||||
-
|
||||
name: Hugo Hansel
|
||||
location:
|
||||
location: bib
|
||||
details: Max-Bense-Forum (UG)
|
||||
|
|
|
|||
|
|
@ -113,11 +113,16 @@ ul.horizontal {
|
|||
}
|
||||
}
|
||||
|
||||
.commaseparated {
|
||||
div.commaseparated {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
ul.commaseparated {
|
||||
display: inline;
|
||||
list-style: none;
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
li {
|
||||
isplay: inline;
|
||||
display: inline;
|
||||
}
|
||||
li:after {
|
||||
content: ", ";
|
||||
|
|
|
|||
|
|
@ -5,11 +5,10 @@
|
|||
<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>Termin:</strong>
|
||||
<span itemprop="startDate" content="<%= @item[:startdate].strftime("%Y-%m-%d") %>T19:30"><%= @item[:startdate].strftime("%d.%m.%Y") %>, 19:30 Uhr</span>
|
||||
<br />
|
||||
<div class="commaseparated">
|
||||
<strong>Referent:</strong>
|
||||
<ul class="commaseparated">
|
||||
<% @item[:speakers].each do |speaker| %>
|
||||
|
|
@ -18,13 +17,11 @@
|
|||
</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>
|
||||
</div>
|
||||
<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>
|
||||
</header>
|
||||
<section itemprop="description">
|
||||
<%= yield %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue