Link to events in calendar
This commit is contained in:
parent
a405b48712
commit
3d8a77defa
1 changed files with 7 additions and 1 deletions
|
|
@ -18,7 +18,13 @@ if (upcomingEvents.size>0)
|
|||
<% else %>
|
||||
<%= e[:startdate].strftime("%d.%m., %H:%M") %>:
|
||||
<% 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>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue