Link to events in calendar

This commit is contained in:
Stefan Schlott 2013-08-27 19:24:13 +02:00
parent a405b48712
commit 3d8a77defa

View file

@ -18,7 +18,13 @@ if (upcomingEvents.size>0)
<% else %> <% else %>
<%= e[:startdate].strftime("%d.%m., %H:%M") %>: <%= e[:startdate].strftime("%d.%m., %H:%M") %>:
<% end %> <% end %>
<% if e[:url] %><a href="<%= e[:url] %>"><%= e[:title] %></a><% else %><%= e[:title] %><% end %> <% if e[:url] %>
<a href="<%= e[:url] %>"><%= e[:title] %></a>
<% elsif e.identifier.start_with?("/events") %>
<a href="<%= e.path %>"><%= e[:title] %></a>
<% else %>
<%= e[:title] %>
<% end %>
</li> </li>
<% end %> <% end %>
</ul> </ul>