Sha256: afaf0696517cf9cd0bb659cb8442a0fde820e5aee09d022fa614351a027d47a8

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

<div class="vevent">
  <h1 class="summary"><%= @event.title %></h1>
  <div class='date'><%= normalize_time(@event) -%></div>
  <% unless @event.venue.blank? %>
    <div class="location vcard">
    <a class="url" href='<%= url_for venue_url(@event.venue) %>'><span class='fn org'><%= @event.venue.title -%></span></a>
    <div class="adr">
      <% if !@event.venue.street_address.blank? -%>
        <div class="street-address"><%= @event.venue.street_address -%></div>
      <% end %>
      <% if !@event.venue.locality.blank? -%>
        <span class="locality"><%= @event.venue.locality -%></span>
      <% end -%>
      <% if !@event.venue.region.blank? -%>
        , <span class="region"><%= @event.venue.region -%></span>
      <% end -%>
      <% if !@event.venue.postal_code.blank? -%>
        <span class="postal-code"><%= @event.venue.postal_code -%></span>
      <% end -%>
      <% if !@event.venue.country.blank? -%>
        <div class='country-name'><%= @event.venue.country -%></div>
      <% end -%>
      <% if @event.venue && @event.venue.has_full_address? -%>
        (<a href='<%=google_maps_url(@event.venue.full_address) -%>'>map</a>)
      <% end -%>
    </div>
    </div>
  <% end -%>
  <% unless @event.description.blank? -%>
  <div class="description">
    <%= format_description(@event.description) %>
  </div>
  <% end -%>
  <% unless @event.url.blank? -%>
  <h3>Links</h3>
  <ul>
    <li><%= link_to "Website", @event.url, :class => "url" -%></li>
  </ul>
  <% end -%>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
calagator-1.0.0.rc2 app/views/calagator/events/_hcal.html.erb
calagator-1.0.0.rc1 app/views/calagator/events/_hcal.html.erb
calagator-0.0.1.pre1 app/views/calagator/events/_hcal.html.erb