Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: b34c72a1b8
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (31 sloc) 1.13 KB
<% if @events_page %>
<section id="calendar">
<h2><%= link_to(t('events'), @events_page.url) %>
<div class="content">
<% if @event %>
<div class="event">
<h3><%= link_to @event.title, @event %></h3>
<section class="start_end">
<span class="start"><%= @event.start_at.strftime('%b %e, %Y %l:%M %p') %></span><span class="delim">&nbsp;|&nbsp;</span><span class="end"><%= @event.end_at.strftime('%b %e, %Y %l:%M %p') %></span>
<div class="description">
<%= simple_format(truncate strip_tags(@event.description), :length => 256) %>
<%= link_to('Prejsť na detail.', @events_page.url) %>
<% else %>
<p>Momentálne nieje v kalendári zaznamenaná žiadna oficiálna akcia.<p>
<% end %>
<hr />
<div id="new-action">
<a href="/akcie-a-organizacia" class="button large">Zorganizovať akciu</a>
<p class="note">
<a href="/akcie-a-organizacia#what">Bližšie informácie o možnostiach a podmienkach</a>.
<% end %>
Jump to Line
Something went wrong with that request. Please try again.