mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
84 lines
2.3 KiB
Text
84 lines
2.3 KiB
Text
.row-fluid
|
|
.span10
|
|
%h3
|
|
= @event.title
|
|
%i= @event.subtitle
|
|
|
|
.span2
|
|
- if @event.transition_possible? :confirm
|
|
= link_to "Confirm", conference_proposal_confirm_path(@conference.short_title, @event), :method => :put, :class => "btn btn-mini btn-success"
|
|
= link_to "Withdraw", conference_proposal_path(@conference.short_title, @event.id), :method => :delete,
|
|
:confirm => "Are you sure you want to withdraw this proposal?", :class => "btn btn-mini btn-danger"
|
|
|
|
.row-fluid
|
|
.span12
|
|
%table.table
|
|
%tr
|
|
%td
|
|
%b Type
|
|
%td
|
|
- if @event.event_type
|
|
= @event.event_type.title
|
|
- if !@event.track.nil?
|
|
%tr
|
|
%td
|
|
%b Track
|
|
%td
|
|
= @event.track.name
|
|
- if !@event.room.nil?
|
|
%tr
|
|
%td
|
|
%b Room
|
|
%td
|
|
= @event.room.name
|
|
- if !@event.start_time.nil?
|
|
%tr
|
|
%td
|
|
%b Scheduled time
|
|
%td
|
|
= @event.start_time
|
|
%tr
|
|
%td
|
|
%b Submitted on
|
|
%td= @event.created_at
|
|
%tr
|
|
%td
|
|
%b Last updated on
|
|
%td= @event.updated_at
|
|
%tr
|
|
%td
|
|
%b Abstract
|
|
%td= simple_format(@event.abstract)
|
|
%tr
|
|
%td
|
|
%b Description
|
|
%td= simple_format(@event.description)
|
|
- if @event.event_attachments.size > 0
|
|
%table.table
|
|
%thead
|
|
%th
|
|
%b Filename
|
|
%th
|
|
%b Title
|
|
%th
|
|
%b Size
|
|
%th
|
|
%b Public?
|
|
%th
|
|
%tbody
|
|
- @event.event_attachments.each do |a|
|
|
%tr
|
|
%td
|
|
= link_to a.attachment_file_name, conference_proposal_event_attachment_path(@conference.short_title, @event.id, a.id)
|
|
%td
|
|
= a.title
|
|
%td
|
|
= number_to_human_size a.attachment_file_size
|
|
%td
|
|
- if a.public?
|
|
Public
|
|
- else
|
|
Not Public
|
|
%td
|
|
= link_to "Delete", conference_proposal_event_attachment_path(@conference.short_title, @event.id, a.id),
|
|
:method => :delete, :confirm => "Are you sure you want to delete this attachment? It's permanant!"
|