Change wording and use unless instead of if

This commit is contained in:
Stella Rouzi 2014-06-12 22:05:47 +03:00
parent b4db97cbb7
commit 93d7cdf840

View file

@ -6,13 +6,13 @@
%div.row %div.row
%div.col-md-12 %div.col-md-12
%h1 Program %h1 Program
- if !@conference.description.blank? - unless @conference.description.blank?
%p %p
= @conference.description = @conference.description
- if @conference.call_for_papers and @conference.call_for_papers.schedule_public - if @conference.call_for_papers and @conference.call_for_papers.schedule_public
%span You can find the complete schedule in our %span You can check out our
%span %span
= link_to 'Master Schedule', conference_schedule_path(@conference.short_title), target: '_blank' = link_to 'Schedule', conference_schedule_path(@conference.short_title), target: '_blank'
-if !@conference.tracks.blank? -unless @conference.tracks.blank?
= render 'tracks' = render 'tracks'