Sha256: 02857de3feadc097e6e8b37b6a88eb5628f8c9d64ba8abbc4c41659a71f105d7

Contents?: true

Size: 819 Bytes

Versions: 3

Compression:

Stored size: 819 Bytes

Contents

- @title = title_for_events_index  # see EventsHelper
- set_title @title  # set html title tag

%h1.section.events= @title
%div
  %table.datatable.events
    %thead
      %tr
        %th=t :name
        %th Datum
        %th=t :group
        %th=t :corporation
        %th=t :contact_people
        %th=t :attendees
    %tbody
      - for event in @events
        %tr.event
          %td.name
            %strong= link_to(event.name, event)
          %td.date= localize event.start_at.to_date
          %td.group_name= event.group ? link_to(event.group.name, event.group) : ''
          %td.corporation_name= event.group.try(:corporation) ? link_to(event.group.corporation.token, event.group.corporation) : ''
          %td.contact_people= user_links(event.contact_people)
          %td.attendees= event.attendees.count

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/views/events/index.html.haml
your_platform-1.0.0 app/views/events/index.html.haml
your_platform-0.0.2 app/views/events/index.html.haml