hound fixes

This commit is contained in:
Stella Rouzi 2014-06-26 15:43:24 +03:00
parent e8990bfb12
commit fc753282d3
14 changed files with 180 additions and 144 deletions

View file

@ -34,10 +34,10 @@
= event.id
%td
=link_to event.title, admin_conference_event_path(@conference.short_title, event)
- if @conference.call_for_papers.rating != 0
%td{:style => "width:96px"}
- if event.average_rating.to_f > 0
- if event.average_rating.to_f > 0
#{event.average_rating}/#{@conference.call_for_papers.rating}
%br
#{pluralize(event.voters.length, 'voter')}
@ -52,9 +52,9 @@
0/#{@conference.call_for_papers.rating}
%br
- if event.submitter.registrations.count < 1
- if event.submitter.registrations.count < 1
- bgcolor="#F7819F"
- else
- else
- bgcolor=""
%td{:style=>"background-color: #{bgcolor}"}
- if !event.submitter.nil?