Added nil checks for call for papers in event index

Changed first / lastname to name

close #342
close #344
This commit is contained in:
Chrisbr 2014-07-21 12:36:15 +02:00
parent 609f2fd564
commit 9d54d0db93
3 changed files with 5 additions and 6 deletions

View file

@ -107,7 +107,7 @@
%b Description
%td= simple_format(@event.description)
- if @conference.call_for_papers.rating > 0
- if @conference.call_for_papers && @conference.call_for_papers.rating && @conference.call_for_papers.rating > 0
= render :partial => "voting"
- if @event.event_attachments.size > 0