Add links activity posts in calendars

This commit is contained in:
Stefan Schlott 2014-01-19 10:04:36 +01:00
parent a7dbaea298
commit 86cafa7e94
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ filter: erb
<% end %>
<% if e[:url] %>
<a href="<%= e[:url] %>"><%= e[:title] %></a>
<% elsif e.identifier.start_with?("/events") %>
<% elsif e.identifier.start_with?("/events") or e.identifier.start_with?("/activities") %>
<a href="<%= e.path %>"><%= e[:title] %></a>
<% else %>
<%= e[:title] %>