mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
visual changes
This commit is contained in:
parent
c68126ab1f
commit
ca8759bc10
3 changed files with 105 additions and 89 deletions
|
|
@ -1,9 +1,13 @@
|
|||
.row-fluid
|
||||
.span12
|
||||
%h3
|
||||
Registered
|
||||
- if @registered
|
||||
= "(#{@registered})"
|
||||
- if @attendees
|
||||
= " - Attendees (#{@attendees})"
|
||||
.row-fluid
|
||||
.span3
|
||||
%table.table.table-bordered.table-striped
|
||||
%thead
|
||||
%th General Stats
|
||||
|
|
@ -21,12 +25,13 @@
|
|||
%td Registred to attend with partner
|
||||
%td= @registered_with_partner
|
||||
%tr
|
||||
%td Handicapped Access for:
|
||||
%td Handicapped Access for
|
||||
%td= @conference.registrations.where("handicapped_access_required = ?", true).count
|
||||
%tr
|
||||
%td Staying at suggested hotel:
|
||||
%td Staying at suggested hotel
|
||||
%td= @conference.registrations.where("using_affiliated_lodging = ?", true).count
|
||||
|
||||
.span3
|
||||
- if @conference.use_dietary_choices == true
|
||||
- diet_choices = []
|
||||
- @conference.dietary_choices.each do |d|
|
||||
|
|
@ -49,7 +54,7 @@
|
|||
- if @attendees and @attendees > 0
|
||||
%br
|
||||
= "#{d[1] * 100 / @attendees}% of attendees"
|
||||
|
||||
.span3
|
||||
- if @conference.social_events.count > 0
|
||||
- social_events = []
|
||||
- @conference.social_events.each do |social_event|
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
- count =0
|
||||
%h3
|
||||
Speakers (#{@speakers.length})
|
||||
%table.table.table-striped.table-bordered.table-hover#events
|
||||
%table.table.table-striped.table-bordered.table-hover#speakertable
|
||||
%thead
|
||||
%th
|
||||
ID
|
||||
|
|
@ -34,3 +34,10 @@
|
|||
= getdatetime(reg, field)
|
||||
- else
|
||||
= reg.send(field.to_sym)
|
||||
|
||||
:javascript
|
||||
$(document).ready(function(){
|
||||
$('#speakertable').dataTable({
|
||||
"bPaginate": false
|
||||
});
|
||||
});
|
||||
|
|
@ -1,5 +1,9 @@
|
|||
.row-fluid
|
||||
.span12
|
||||
%h3
|
||||
Tickets (#{@tickets.length if @tickets}#{0 unless @tickets})
|
||||
Non-free Tickets (#{@tickets.length if @tickets}#{0 unless @tickets})
|
||||
.row-fluid
|
||||
.span5
|
||||
- if @supporter_levels.count > 0
|
||||
%table.table.table-bordered.table-striped
|
||||
%thead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue