Distinguish coming/past events (separate headlines)

This commit is contained in:
Stefan Schlott 2013-08-29 10:32:33 +02:00
parent ff16ff78a0
commit d72f5934df
3 changed files with 47 additions and 14 deletions

View file

@ -1,9 +1,9 @@
<header class="event">
<% if heading %>
<% if link %>
<h1 itemprop="name"><a itemProp="url" href="<%= item.path() %>"><%= item[:title] %></a></h1>
<<%= heading %> itemprop="name"><a itemProp="url" href="<%= item.path() %>"><%= item[:title] %></a></<%= heading %>>
<% else %>
<h1 itemprop="name"><%= item[:title] %></h1>
<<%= heading %> itemprop="name"><%= item[:title] %></<%= heading %>>
<% end %>
<% end %>
<ul class="iconlist">