Sha256: 2d637443439ac38da152e7971711e044371fe5d0f44e115fb03a0ed3f702f169
Contents?: true
Size: 1.98 KB
Versions: 11
Compression:
Stored size: 1.98 KB
Contents
<%= content_for :title, @event.title %> <% content_for :discovery_insert do %> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<%= edit_event_url(@event) %>" /> <% end %> <% content_for :open_graph_tags do %> <meta property="og:title" content="<%= @event.title %>" /> <meta property="og:description" content="<%= @event.description %>" /> <meta property="og:site_name" content="<%= Calagator.name %>" /> <meta property="og:url" content="<%= event_url(@event) %>"> <% end %> <a href="#" id="event_sidebar_toggle" class="expander_toggle">Export or edit this event...</a> <div id="event_sidebar" class='single_view_right sidebar'> <h3 class='first'>Export to</h3> <ul> <li><%= link_to "Google Calendar", google_event_export_link(@event), :id => "google_calendar_export", :target => "_blank" %></li> <li><%= link_to 'iCalendar file', "#{event_url(@event)}.ics" %></li> <li> <a href="#" onclick="$('#hcal_field').toggle(); return false">hCalendar markup</a> <div id="hcal_field" style="display: none;"> <%= text_area_tag 'hCalendar', h( render :partial => 'hcal', :locals => { :event => @event, :show_year => true }, :formats => [:html] ), :rows => 10, :cols => 80 %> </div> </li> </ul> <hr /> <div id='edit_link'> <% if @event.locked %> <p>This event is currently locked and cannot be edited. Please contact an admin for assistance.</p> <% else %> <p> You can <%= link_to "edit", edit_event_url(@event) %>, <%= link_to "clone", clone_event_url(@event) %>, or <%= link_to "delete", event_url(@event), method: :delete, data: { confirm: "Are you sure?" } %> this event. </p> <% end %> </div> <hr /> <div id='metadata'> <%= datestamp(@event) %> </div> </div> <%= render :partial => 'item', :locals => {:event => @event} %>
Version data entries
11 entries across 11 versions & 3 rubygems