Sha256: a61e5c68a78a90fcd7cbc95231606a853bd1297408b4aa53f8c5d6d08af8d6fe

Contents?: true

Size: 1.32 KB

Versions: 57

Compression:

Stored size: 1.32 KB

Contents

<div id="content_detail" class="ui-corner-all">
  <%- if @library -%>
    <h1 class="title">
      <%= t('calendar.library_calendar', :library_name => @library.display_name.localize) -%>
    </h1>
  <%- else -%>
    <h1 class="title">
      <%= t('calendar.calendar') -%>
    </h1>
  <%- end -%>

  <div id="content_list">
  <p id="notice"><%= notice %></p>

    <%- if @library -%>
      <h2 class="resource_title">
        <%= link_to @library.display_name.localize, @library -%>
      </h2>
    <%- else -%>
      <h2 class="resource_title">
        <%= t('event.all_libraries') -%>
      </h2>
    <%- end -%>

    <p>
      <%- if @library -%>
        (<%= link_to 'iCalendar', library_events_path(@library, :format => :ics) -%>)
      <%- else -%>
        (<%= link_to 'iCalendar', events_path(:format => :ics) -%>)
      <%- end -%>
    </p>

    <%= raw event_calendar %>
  </div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.listing', :model => t('activerecord.models.event')), events_path -%></li>
    <li><%= link_to t('page.show_all'), :controller => :calendar, :action => :index -%></li>
    <%- @libraries.each do |library| -%>
      <li><%= link_to library.display_name.localize, :controller => :calendar, :action => :index, :library_id => library.name -%></li>
    <%- end -%>
  </ul>
</div>

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
enju_event-0.1.17.pre17 app/views/calendar/index.html.erb
enju_event-0.1.17.pre16 app/views/calendar/index.html.erb
enju_event-0.1.17.pre15 app/views/calendar/index.html.erb
enju_event-0.1.17.pre14 app/views/calendar/index.html.erb
enju_event-0.1.17.pre13 app/views/calendar/index.html.erb
enju_event-0.1.17.pre12 app/views/calendar/index.html.erb
enju_event-0.1.17.pre11 app/views/calendar/index.html.erb
enju_event-0.1.17.pre10 app/views/calendar/index.html.erb
enju_event-0.1.17.pre9 app/views/calendar/index.html.erb
enju_event-0.1.17.pre8 app/views/calendar/index.html.erb
enju_event-0.1.17.pre7 app/views/calendar/index.html.erb
enju_event-0.1.17.pre6 app/views/calendar/index.html.erb
enju_event-0.1.17.pre5 app/views/calendar/index.html.erb
enju_event-0.1.17.pre4 app/views/calendar/index.html.erb
enju_event-0.1.17.pre3 app/views/calendar/index.html.erb
enju_event-0.1.17.pre2 app/views/calendar/index.html.erb
enju_event-0.1.17.pre app/views/calendar/index.html.erb
enju_event-0.1.16 app/views/calendar/index.html.erb
enju_event-0.1.15 app/views/calendar/index.html.erb
enju_event-0.1.13 app/views/calendar/index.html.erb