forked from saurabh/personal-conference
Update personal_conferences_controller.rb
This commit is contained in:
parent
e3c84bf11a
commit
8f03e0aef1
|
@ -66,7 +66,7 @@ class PersonalConferencesController < ApplicationController
|
||||||
t << {"value" => "<a href='#{OrbitHelper.url_to_show(writing_conference.to_param)}'>#{writing_conference.create_link}</a>"}
|
t << {"value" => "<a href='#{OrbitHelper.url_to_show(writing_conference.to_param)}'>#{writing_conference.create_link}</a>"}
|
||||||
end
|
end
|
||||||
when "paper_levels"
|
when "paper_levels"
|
||||||
t << {"value" => "(#{writing_conference.conference_paper_levels.collect{|x| x.title}.join(', ')})"}
|
t << {"value" => ( !writing_conference.conference_paper_levels.blank? ? "(#{writing_conference.conference_paper_levels.collect{|x| x.title}.join(', ')})" : nil)
|
||||||
when "paper_types"
|
when "paper_types"
|
||||||
t << {"value" => ( !writing_conference.conference_paper_types.blank? ? "(#{writing_conference.conference_paper_types.collect{|x| x.title}.join(', ')})" : nil)}
|
t << {"value" => ( !writing_conference.conference_paper_types.blank? ? "(#{writing_conference.conference_paper_types.collect{|x| x.title}.join(', ')})" : nil)}
|
||||||
when "publication_date"
|
when "publication_date"
|
||||||
|
|
Loading…
Reference in New Issue