added employee_identity and some other changes to recruitments
This commit is contained in:
parent
1c765fa053
commit
326c5f1ec0
|
@ -231,6 +231,10 @@ class RecruitmentsController < PseudoSessionController
|
||||||
"gender" => t("recruitment.gender.#{profile.gender}"),
|
"gender" => t("recruitment.gender.#{profile.gender}"),
|
||||||
"martial-title" => t("recruitment.martial_title"),
|
"martial-title" => t("recruitment.martial_title"),
|
||||||
"martial" => (!profile.marital_status.nil? && profile.marital_status != "" ? t("recruitment.martial.#{profile.marital_status}") : t("recruitment.not_available")),
|
"martial" => (!profile.marital_status.nil? && profile.marital_status != "" ? t("recruitment.martial.#{profile.marital_status}") : t("recruitment.not_available")),
|
||||||
|
"employment_status-title" => t("recruitment.gender_title"),
|
||||||
|
"employment_status" => t("recruitment.employment.#{profile.employment_status}"),
|
||||||
|
"employee_identity-title" => t("recruitment.employee_identity_title"),
|
||||||
|
"employee_identity" => t("recruitment.employee_identity.#{profile.employee_identity}"),
|
||||||
"language-title" => t("recruitment.language_title"),
|
"language-title" => t("recruitment.language_title"),
|
||||||
"language" => profile.languages,
|
"language" => profile.languages,
|
||||||
"workingtime-title" => t("recruitment.workingtime_title"),
|
"workingtime-title" => t("recruitment.workingtime_title"),
|
||||||
|
|
|
@ -14,6 +14,7 @@ class EmployeeProfile
|
||||||
field :address, localize: true
|
field :address, localize: true
|
||||||
field :autobiography, localize: true
|
field :autobiography, localize: true
|
||||||
field :employment_status #type1 -> employed, type2 -> unemployed
|
field :employment_status #type1 -> employed, type2 -> unemployed
|
||||||
|
field :employee_identity #type1 -> General Candidate, type2 -> Internship, type3 -> Exchange Student
|
||||||
field :active, type: Boolean, :default => true
|
field :active, type: Boolean, :default => true
|
||||||
|
|
||||||
# job info
|
# job info
|
||||||
|
|
|
@ -97,8 +97,8 @@
|
||||||
<%= fe.text_field :phone_number, :class => "form-control" %>
|
<%= fe.text_field :phone_number, :class => "form-control" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- employment status -->
|
<!-- employment status -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label"><%= t("recruitment.employment_status") %></label>
|
<label class="col-sm-2 control-label"><%= t("recruitment.employment_status") %></label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
|
@ -110,6 +110,22 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- employee identity -->
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-2 control-label"><%= t("recruitment.employee_identity_title") %></label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<label for="recruit_profile_employee_profile_attributes_employee_identity_type1" class="control-label radio-label">
|
||||||
|
<%= fe.radio_button :employee_identity, "type1" %> <%= t("recruitment.employee_identity.type1") %>
|
||||||
|
</label>
|
||||||
|
<label for="recruit_profile_employee_profile_attributes_employee_identity_type2" class="control-label radio-label">
|
||||||
|
<%= fe.radio_button :employee_identity, "type2" %> <%= t("recruitment.employee_identity.type2") %>
|
||||||
|
</label>
|
||||||
|
<label for="recruit_profile_employee_profile_attributes_employee_identity_type3" class="control-label radio-label">
|
||||||
|
<%= fe.radio_button :employee_identity, "type3" %> <%= t("recruitment.employee_identity.type3") %>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Website -->
|
<!-- Website -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
|
@ -167,6 +167,11 @@ en:
|
||||||
employment:
|
employment:
|
||||||
type1: Un-Employed
|
type1: Un-Employed
|
||||||
type2: Employed
|
type2: Employed
|
||||||
|
employee_identity_title: Employee Identity
|
||||||
|
employee_identity:
|
||||||
|
type1: General Candidate
|
||||||
|
type2: Internship
|
||||||
|
type3: Exchange Student
|
||||||
website: Website / Link
|
website: Website / Link
|
||||||
avatar: Avatar
|
avatar: Avatar
|
||||||
address: Address
|
address: Address
|
||||||
|
|
|
@ -169,6 +169,11 @@ zh_tw:
|
||||||
employment:
|
employment:
|
||||||
type1: 待業中
|
type1: 待業中
|
||||||
type2: 就業中
|
type2: 就業中
|
||||||
|
employee_identity_title: 應徵身分
|
||||||
|
employee_identity:
|
||||||
|
type1: 一般應徵者
|
||||||
|
type2: 實習生
|
||||||
|
type3: 交換學生
|
||||||
website: 網址
|
website: 網址
|
||||||
avatar: 上傳圖片
|
avatar: 上傳圖片
|
||||||
address: 地址
|
address: 地址
|
||||||
|
|
Loading…
Reference in New Issue