small fix for no skills
This commit is contained in:
parent
060102637c
commit
76d0976ae8
|
@ -158,6 +158,7 @@ class RecruitmentsController < PseudoSessionController
|
||||||
end
|
end
|
||||||
if !job.skills.empty?
|
if !job.skills.empty?
|
||||||
skills = job.skills.collect{|skill| "<span class='label label-info'>#{skill}</span>"}
|
skills = job.skills.collect{|skill| "<span class='label label-info'>#{skill}</span>"}
|
||||||
|
skills = skills.join(" ")
|
||||||
else
|
else
|
||||||
skills = t("recruitment.not_available")
|
skills = t("recruitment.not_available")
|
||||||
end
|
end
|
||||||
|
@ -188,7 +189,7 @@ class RecruitmentsController < PseudoSessionController
|
||||||
"location-title" => t("recruitment.location"),
|
"location-title" => t("recruitment.location"),
|
||||||
"location" => (!job.location_of_work.nil? && job.location_of_work != "" ? job.location_of_work : t("recruitment.not_available")),
|
"location" => (!job.location_of_work.nil? && job.location_of_work != "" ? job.location_of_work : t("recruitment.not_available")),
|
||||||
"skills-title" => t("recruitment.skills_title"),
|
"skills-title" => t("recruitment.skills_title"),
|
||||||
"skills" => skills.join(" "),
|
"skills" => skills,
|
||||||
"experience-title" => t("recruitment.experience_title"),
|
"experience-title" => t("recruitment.experience_title"),
|
||||||
"experience" => experience,
|
"experience" => experience,
|
||||||
"qualification-title" => t("recruitment.qualification"),
|
"qualification-title" => t("recruitment.qualification"),
|
||||||
|
|
Loading…
Reference in New Issue