Sha256: 8ef8f946cfd40350035123eb6ed6948945e885d6965ccdabd1fa01ca07d7939e

Contents?: true

Size: 1.07 KB

Versions: 28

Compression:

Stored size: 1.07 KB

Contents

<div data-role="header">
  <h1 class="title"><%= t('page.showing', model: t('activerecord.models.event')) -%></h1>
</div>

<div data-role="content">
<h2 class="resource_title">
  <%= @event.display_name.localize -%>
</h2>

<p>
  <strong><%= t('activerecord.models.event_category') -%>:</strong>
  <%= @event.event_category.display_name.localize -%>
</p>

<p>
  <strong><%= t('activerecord.models.library') -%>:</strong>
  <%= link_to @event.library.display_name.localize, @event.library -%>
</p>

<%- if @event.all_day -%>
  <p>
    <strong><%= t('activerecord.attributes.event.all_day') -%>:</strong>
    <%= l(@event.start_at, format: :only_date) -%>
  </p>
<%- else -%>
  <p>
    <strong><%= t('activerecord.attributes.event.start_at') -%>:</strong>
    <%= l(@event.start_at, format: :short) -%>
  </p>

  <p>
    <strong><%= t('activerecord.attributes.event.end_at') -%>:</strong>
    <%= l(@event.end_at, format: :short) -%>
  </p>
<%- end -%>

<p>
  <strong><%= t('activerecord.attributes.event.note') -%>:</strong>
  <%= raw auto_link(simple_format(h(@event.note))) -%>
</p>

</div>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
enju_event-0.3.5 app/views/events/show.html+phone.erb
enju_event-0.3.4 app/views/events/show.html+phone.erb
enju_event-0.3.3 app/views/events/show.html+phone.erb
enju_event-0.3.2 app/views/events/show.html+phone.erb
enju_event-0.3.1 app/views/events/show.html+phone.erb
enju_event-0.3.0 app/views/events/show.html+phone.erb
enju_event-0.3.0.rc.1 app/views/events/show.html+phone.erb
enju_event-0.3.0.beta.1 app/views/events/show.html+phone.erb
enju_event-0.2.3 app/views/events/show.html+phone.erb
enju_event-0.2.2 app/views/events/show.html+phone.erb
enju_event-0.2.1 app/views/events/show.html+phone.erb
enju_event-0.2.0 app/views/events/show.html+phone.erb
enju_event-0.2.0.beta.4 app/views/events/show.html+phone.erb
enju_event-0.2.0.beta.3 app/views/events/show.html+phone.erb
enju_event-0.2.0.beta.2 app/views/events/show.html+phone.erb
enju_event-0.2.0.beta.1 app/views/events/show.html+phone.erb
enju_event-0.1.19 app/views/events/show.mobile.erb
enju_event-0.1.18 app/views/events/show.mobile.erb
enju_event-0.1.17 app/views/events/show.mobile.erb
enju_event-0.1.17.pre27 app/views/events/show.mobile.erb