Change wording and use unless instead of if
This commit is contained in:
parent
b4db97cbb7
commit
93d7cdf840
1 changed files with 4 additions and 4 deletions
|
|
@ -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'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue