account settings, hint and languages
This commit is contained in:
parent
ce8d96a23c
commit
c9816c6344
|
@ -63,7 +63,8 @@ class RecruitmentsController < PseudoSessionController
|
|||
{
|
||||
"candidates" => data,
|
||||
"extras" => {
|
||||
"criteria" => criteria
|
||||
"criteria" => criteria,
|
||||
"advanced-search" => t("recruitment.advanced_search")
|
||||
},
|
||||
"total_pages" => total_pages
|
||||
}
|
||||
|
@ -116,7 +117,8 @@ class RecruitmentsController < PseudoSessionController
|
|||
{
|
||||
"jobs" => jobs,
|
||||
"extras" => {
|
||||
"criteria" => criteria
|
||||
"criteria" => criteria,
|
||||
"advanced-search" => t("recruitment.advanced_search")
|
||||
},
|
||||
"total_pages" => total_pages
|
||||
}
|
||||
|
@ -279,9 +281,9 @@ class RecruitmentsController < PseudoSessionController
|
|||
current_loggedin_user = RecruitProfile.where(:pseudo_member_id => pu.user_name).first rescue nil
|
||||
if !current_loggedin_user.nil? && current_loggedin_user.is_employee?
|
||||
if !current_loggedin_user.profile.is_job_applied?(job.id.to_s)
|
||||
applybtn = "<a href='#' id='jobApplicationBtn' class='btn btn-primary'>Apply</a>"
|
||||
applybtn = "<a href='#' id='jobApplicationBtn' class='btn btn-primary'>#{"recruitment.apply"}</a>"
|
||||
else
|
||||
applybtn = "<a href='#' disabled='disabled' class='btn btn-success'>Already Applied</a>"
|
||||
applybtn = "<a href='#' disabled='disabled' class='btn btn-success'>#{"recruitment.already_applied"}</a>"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -611,6 +613,19 @@ class RecruitmentsController < PseudoSessionController
|
|||
@academic_types = ["type1","type2","type3"].collect{|t| [t("recruitment.academic_type.#{t}"), t]}
|
||||
end
|
||||
|
||||
# ------ ------ account settings ------ ------- #
|
||||
def account_settings
|
||||
end
|
||||
|
||||
def update_settings
|
||||
pu = PseudoUser.where(:user_name => @profile.pseudo_member_id).first
|
||||
if pu.update_password(params[:password],params[:password_confirmation])
|
||||
redirect_to mydashboard_path
|
||||
else
|
||||
redirect_to account_settings_path(:err => "1")
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def filter_jobs(params, type)
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
<h3>
|
||||
<%= t("recruitment.welcome") %> <strong><%= @profile.name %></strong>!
|
||||
<div class="pull-right logout"><a href="/pseudo_users/logoutpseudouser">Logout</a></div>
|
||||
<div class="pull-right logout"><a href="/pseudo_users/logoutpseudouser"><%= t("recruitment.logout") %></a></div>
|
||||
</h3>
|
||||
<ul class="nav nav-tabs">
|
||||
<% if @profile.is_employer? %>
|
||||
<li role="presentation" class="<%= params[:action] == "recruitment_dashboard" ? "active" : "" %>"><a href="<%= mydashboard_path %>"><%= t("recruitment.dashboard") %></a></li>
|
||||
<li role="presentation" class="<%= params[:action] == "editprofile" ? "active" : "" %>"><a href="<%= editprofile_path %>"><%= t("recruitment.profile") %></a></li>
|
||||
<li role="presentation" class="<%= params[:action] == "account_settings" ? "active" : "" %>"><a href="<%= account_settings_path %>"><%= t("recruitment.account_settings") %></a></li>
|
||||
<% elsif @profile.is_employee? %>
|
||||
<li role="presentation" class="<%= params[:action] == "recruitment_dashboard" ? "active" : "" %>"><a href="<%= mydashboard_path %>"><%= t("recruitment.dashboard") %></a></li>
|
||||
<li role="presentation" class="<%= params[:action] == "editprofile" ? "active" : "" %>"><a href="<%= editprofile_path %>"><%= t("recruitment.profile") %></a></li>
|
||||
|
@ -13,6 +14,7 @@
|
|||
<li role="presentation" class="<%= params[:action] == "employee_portfolio" ? "active" : "" %>"><a href="<%= employee_portfolio_path %>"><%= t("recruitment.portfolio") %></a></li>
|
||||
<li role="presentation" class="<%= params[:action] == "employee_experience" ? "active" : "" %>"><a href="<%= employee_experience_path %>"><%= t("recruitment.experience") %></a></li>
|
||||
<li role="presentation" class="<%= params[:action] == "employee_recommendation" ? "active" : "" %>"><a href="<%= employee_recommendation_path %>"><%= t("recruitment.recommendation") %></a></li>
|
||||
<li role="presentation" class="<%= params[:action] == "account_settings" ? "active" : "" %>"><a href="<%= account_settings_path %>"><%= t("recruitment.account_settings") %></a></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% if params[:action] == "recruitment_dashboard" && @profile.is_employer? %>
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
<style type="text/css">
|
||||
#example-box .modal-dialog{
|
||||
z-index: 1100;
|
||||
}
|
||||
#example-box .modal-footer button{
|
||||
color: #000;
|
||||
}
|
||||
</style>
|
||||
<div class="modal fade" id="example-box" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="myModalLabel"><%= t("recruitment.example") %></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("recruitment.close") %></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(".hint-btn").on("click",function(){
|
||||
var html = $(this).parent().find("div.help-block").html();
|
||||
$("#example-box").find(".modal-body").html(html);
|
||||
$("#example-box").modal("show");
|
||||
return false;
|
||||
})
|
||||
</script>
|
|
@ -77,6 +77,10 @@
|
|||
<%= fe.label locale, t("recruitment.exchange_description"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<%= fe.text_area locale, :rows=>5, :class => "form-control", :value => @job.job_description_translations[locale] %>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.exchange_description_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
@ -87,6 +91,10 @@
|
|||
<%= fe.label locale, t("recruitment.exchange_conditions"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<%= fe.text_area locale, :rows=>5, :class => "form-control", :value => @job.other_conditions_translations[locale] %>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.exchange_information_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
@ -111,6 +119,10 @@
|
|||
<%= f.number_field :internship_duration, :class => "form-control", :max => 36, :min => 1 %>
|
||||
<%= t("recruitment.months") %>
|
||||
</label>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.job_duration_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -154,6 +166,10 @@
|
|||
<%= f.label :location_of_work, t("recruitment.location"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<%= f.text_field :location_of_work, :class => "form-control"%>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.location_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -227,7 +243,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<%= render :partial => "example_box" %>
|
||||
<script type="text/javascript">
|
||||
$("#recruitment_job_holiday_system_type2").on("click",function(){
|
||||
if($(this).is(":checked")){
|
||||
|
|
|
@ -23,8 +23,12 @@
|
|||
<%= f.fields_for :job_title_translations do |fe| %>
|
||||
<div class="form-group">
|
||||
<%= fe.label locale, t("recruitment.internship_title"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= fe.text_field locale, :class => "form-control", :value => @job.job_title_translations[locale] %>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.internship_title_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
@ -32,8 +36,12 @@
|
|||
<%= f.fields_for :job_description_translations do |fe| %>
|
||||
<div class="form-group">
|
||||
<%= fe.label locale, t("recruitment.internship_description"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= fe.text_area locale, :rows=>5, :class => "form-control", :value => @job.job_description_translations[locale] %>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.internship_description_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
@ -42,7 +50,7 @@
|
|||
<%= f.fields_for :other_conditions_translations do |fe| %>
|
||||
<div class="form-group">
|
||||
<%= fe.label locale, t("recruitment.internship_conditions"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= fe.text_area locale, :rows=>5, :class => "form-control", :value => @job.other_conditions_translations[locale] %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -71,6 +79,10 @@
|
|||
<%= f.number_field :internship_duration, :class => "form-control", :max => 36, :min => 1 %>
|
||||
<%= t("recruitment.months") %>
|
||||
</label>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.internship_duration_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -93,7 +105,7 @@
|
|||
<!-- Job Category -->
|
||||
<div class="form-group">
|
||||
<%= f.label :category, t("recruitment.category"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.select :category, RecruitmentCategory.all.asc(:job_category).collect{|rc| [rc.job_category,rc.id.to_s]}, {:include_blank => "Select Category"},{:class => "form-control"} %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -128,7 +140,7 @@
|
|||
|
||||
<div class="form-group">
|
||||
<%= f.label :location_of_work, t("recruitment.location"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_field :location_of_work, :class => "form-control"%>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -137,7 +149,7 @@
|
|||
|
||||
<div class="form-group">
|
||||
<%= f.label :industrial_area, t("recruitment.industrial_area"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_field :industrial_area, :class => "form-control"%>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -196,8 +208,11 @@
|
|||
<%= f.radio_button :joining_time, "type2" %> <%= t("recruitment.joining_time.type2") %>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.joining_time_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<!-- Work Type -->
|
||||
<!-- <div class="form-group">
|
||||
|
@ -238,7 +253,7 @@
|
|||
<!-- Academic Type -->
|
||||
<div class="form-group">
|
||||
<%= f.label :academic_type, t("recruitment.academic_type_title"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.select :academic_type, @academic_types, {:include_blank => "Select Degree"},{:class => "form-control"} %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -246,7 +261,7 @@
|
|||
<!-- Academic Req -->
|
||||
<div class="form-group">
|
||||
<%= f.label :academic_requirement, t("recruitment.academic_requirement"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_area :academic_requirement, :class => "form-control"%>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -254,7 +269,7 @@
|
|||
<!-- Language Req -->
|
||||
<div class="form-group">
|
||||
<%= f.label :language_requirement, t("recruitment.language"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_field :language_requirement, :class => "form-control", :placeholder => t("recruitment.seperate_with_eng") %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -262,8 +277,12 @@
|
|||
<!-- Tools Req -->
|
||||
<div class="form-group">
|
||||
<%= f.label :tools_requirement, t("recruitment.skills"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_field :skills, :class => "form-control", :placeholder => t("recruitment.seperate_with_word"), :value => @job.skills.join(", ") %>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.skills_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -276,7 +295,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<%= render :partial => "example_box" %>
|
||||
<script type="text/javascript">
|
||||
$("#recruitment_job_holiday_system_type2").on("click",function(){
|
||||
if($(this).is(":checked")){
|
||||
|
|
|
@ -23,12 +23,12 @@
|
|||
<%= f.fields_for :job_title_translations do |fe| %>
|
||||
<div class="form-group">
|
||||
<%= fe.label locale, t("recruitment.job_title"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= fe.text_field locale, :class => "form-control", :value => @job.job_title_translations[locale] %>
|
||||
</div>
|
||||
<div>
|
||||
<p class="help-block"><%= t("recruitment.job_description_example") %></p>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.job_title_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
@ -36,8 +36,12 @@
|
|||
<%= f.fields_for :job_description_translations do |fe| %>
|
||||
<div class="form-group">
|
||||
<%= fe.label locale, t("recruitment.job_description"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= fe.text_area locale, :rows=>5, :class => "form-control", :value => @job.job_description_translations[locale] %>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.job_description_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
@ -46,8 +50,12 @@
|
|||
<%= f.fields_for :other_conditions_translations do |fe| %>
|
||||
<div class="form-group">
|
||||
<%= fe.label locale, t("recruitment.other_conditions"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= fe.text_area locale, :rows=>5, :class => "form-control", :value => @job.other_conditions_translations[locale] %>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.job_conditions_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
@ -58,7 +66,7 @@
|
|||
<!-- Job Category -->
|
||||
<div class="form-group">
|
||||
<%= f.label :category, t("recruitment.category"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.select :category, RecruitmentCategory.all.asc(:job_category).collect{|rc| [rc.job_category,rc.id.to_s]}, {:include_blank => "Select Category"},{:class => "form-control"} %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -93,8 +101,12 @@
|
|||
|
||||
<div class="form-group">
|
||||
<%= f.label :location_of_work, t("recruitment.location"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_field :location_of_work, :class => "form-control"%>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.location_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -102,8 +114,12 @@
|
|||
|
||||
<div class="form-group">
|
||||
<%= f.label :industrial_area, t("recruitment.industrial_area"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_field :industrial_area, :class => "form-control"%>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.industrial_area_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -160,6 +176,10 @@
|
|||
<label for="recruitment_job_joining_time_type2" class="control-label radio-label">
|
||||
<%= f.radio_button :joining_time, "type2" %> <%= t("recruitment.joining_time.type2") %>
|
||||
</label>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.joining_time_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -203,7 +223,7 @@
|
|||
<!-- Academic Type -->
|
||||
<div class="form-group">
|
||||
<%= f.label :academic_type, t("recruitment.academic_type_title"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.select :academic_type, @academic_types, {:include_blank => "Select Degree"},{:class => "form-control"} %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -211,7 +231,7 @@
|
|||
<!-- Academic Req -->
|
||||
<div class="form-group">
|
||||
<%= f.label :academic_requirement, t("recruitment.academic_requirement"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_area :academic_requirement, :class => "form-control"%>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -219,7 +239,7 @@
|
|||
<!-- Language Req -->
|
||||
<div class="form-group">
|
||||
<%= f.label :language_requirement, t("recruitment.language"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_field :language_requirement, :class => "form-control", :placeholder => t("recruitment.seperate_with_eng") %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -227,8 +247,12 @@
|
|||
<!-- Tools Req -->
|
||||
<div class="form-group">
|
||||
<%= f.label :tools_requirement, t("recruitment.skills"), :class => "col-sm-2 control-label" %>
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<%= f.text_field :skills, :class => "form-control", :placeholder => t("recruitment.seperate_with_word"), :value => @job.skills.join(", ") %>
|
||||
<div>
|
||||
<div class="help-block" style="display: none;"><%= simple_format(t("recruitment.skills_example")) %></div>
|
||||
<a class="hint-btn" href=""><%= t("recruitment.example") %></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -241,7 +265,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<%= render :partial => "example_box" %>
|
||||
<script type="text/javascript">
|
||||
$("#recruitment_job_holiday_system_type2").on("click",function(){
|
||||
if($(this).is(":checked")){
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<div id="dashboard-wrapper">
|
||||
<%= render :partial => "dashboard_header" %>
|
||||
<h3 class="header-title"><%= t("recruitment.account_settings") %></h3>
|
||||
<hr>
|
||||
<% if params[:err] == "1" %>
|
||||
<div class="alert alert-danger"><%= t("recruitment.pass_confirm_pass_do_not_match") %></div>
|
||||
<% end %>
|
||||
<form class="form-horizontal" action="/recruit/update_settings" method="post">
|
||||
<div class="form-group">
|
||||
<label for="password" class="col-sm-2 control-label"><%= t("pseudo_members.password") %></label>
|
||||
<div class="col-sm-4">
|
||||
<input type="password" class="form-control" name="password" id="password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_confirmation" class="col-sm-2 control-label"><%= t("pseudo_members.password_confirmation") %></label>
|
||||
<div class="col-sm-4">
|
||||
<input type="password" class="form-control" name="password_confirmation" id="password_confirmation">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-8">
|
||||
<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token %>">
|
||||
<input type="submit" value="<%= t("save") %>" class="btn btn-primary">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
|
@ -16,26 +16,26 @@
|
|||
<label for="experience" class="col-sm-3 control-label"><%= t("recruitment.experience_title") %></label>
|
||||
<div class="col-sm-9">
|
||||
<input type="number" max="50" min="0" name="exp" class="form-control" id="experience" >
|
||||
<div class="hint">Please input 0 for freshers.</div>
|
||||
<div class="hint"><%= t("recruitment.input_zero_freshers") %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="industry" class="col-sm-3 control-label"><%= t("recruitment.industries") %></label>
|
||||
<div class="col-sm-9">
|
||||
<%= select_tag "industry", options_for_select(@industries), :prompt => "Please Select", :class => "form-control" %>
|
||||
<%= select_tag "industry", options_for_select(@industries), :prompt => t("recruitment.please_select"), :class => "form-control" %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="category" class="col-sm-3 control-label"><%= t("recruitment.categories") %></label>
|
||||
<div class="col-sm-9">
|
||||
<%= select_tag "category", options_for_select(@categories), :prompt => "Please Select", :class => "form-control" %>
|
||||
<%= select_tag "category", options_for_select(@categories), :prompt => t("recruitment.please_select"), :class => "form-control" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="location" class="col-sm-3 control-label"><%= t("recruitment.location") %></label>
|
||||
<div class="col-sm-9">
|
||||
<%= select_tag "location", options_for_select(@locations), :prompt => "Please Select", :class => "form-control" %>
|
||||
<%= select_tag "location", options_for_select(@locations), :prompt => t("recruitment.please_select"), :class => "form-control" %>
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="type" value="aq">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div class="modal-content">
|
||||
<div class="ajax-content"><div style="margin-top:15px; text-align: center;">Loading...</div></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("close") %></button>
|
||||
<button type="button" class="btn btn-primary" id="searchBtn"><i class="fa fa-search" aria-hidden="true"></i> <%= t("recruitment.search") %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
<% case data["type"]
|
||||
when "jobs", "internships", "exchanges" %>
|
||||
<style type="text/css">
|
||||
#applyForm .modal-dialog{
|
||||
z-index: 1100;
|
||||
}
|
||||
#applicationform{
|
||||
padding: 10px;
|
||||
}
|
||||
</style>
|
||||
#applyForm .modal-dialog{
|
||||
z-index: 1100;
|
||||
}
|
||||
#applicationform{
|
||||
padding: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="applyForm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
|
||||
|
@ -31,17 +31,17 @@
|
|||
<div class="modal-body">
|
||||
<form id="applicationform" action="/recruit/applyjob" method="post" class="form-horizontal">
|
||||
<div class="form-group adv-search-bar">
|
||||
<label for="cover-letter">Please write a cover letter</label>
|
||||
<label for="cover-letter"><%= t("recruitment.please_write_cover_letter") %></label>
|
||||
<textarea id="cover-letter" placeholder="Cover Letter" name="cover_letter" rows="5" class="form-control"></textarea>
|
||||
<div class="alert alert-warning">Your CV and Rest of your profile will be sent along with it.</div>
|
||||
<div class="alert alert-warning"><%= t("recruitment.cv_sent_along") %></div>
|
||||
</div>
|
||||
<input type="hidden" name="job_id" id="jobid" value="">
|
||||
<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token %>">
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary" id="applyBtn">Apply</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("close") %></button>
|
||||
<button type="button" class="btn btn-primary" id="applyBtn"><%= t("recruitment.apply") %></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,8 +6,50 @@ en:
|
|||
module_name:
|
||||
recruitment: Recruitment
|
||||
recruitment:
|
||||
example: Exmaple
|
||||
job_title_example: For Example Executive, Manager, Supervisor etc.
|
||||
apply: Apply
|
||||
already_applied: Already Applied
|
||||
input_zero_freshers: Please input 0 for freshers.
|
||||
please_select: Please Select
|
||||
please_write_cover_letter: Please write a cover letter
|
||||
cv_sent_along: Your CV and Rest of your profile will be sent along with it.
|
||||
pass_confirm_pass_do_not_match: Password and confirm password do not match.
|
||||
account_settings: Account Settings
|
||||
example: Example
|
||||
logout: Logout
|
||||
job_title_example: Executive, Manager, Supervisor etc.
|
||||
job_description_example: "Job Description for Marketing Executive\n
|
||||
a. Overseeing and developing marketing campaigns.\n
|
||||
b. Conducting research and analysing data to identify and define audiences.\n
|
||||
c. Managing campaigns on social media.\n
|
||||
d. Devising and presenting ideas and strategies."
|
||||
job_conditions_example: "a. Fringe Benefit Tax\n
|
||||
b. Expatriate allowances such as housing allowance, three to five weeks paid vacation, healthcare coverage etc."
|
||||
location_example: Please enter location of your workplace Example Delhi, Mumbai. Calcutta etc.
|
||||
industrial_area_example: Please mention Industrial estate i.e area zoned and planned for the purpose of Industrial development.
|
||||
joining_time_example: Please mention the tenure for the candidate to join the company.
|
||||
internship_title_example: Intern - Marketing, Intern - Sales etc.
|
||||
internship_description_example: "a. Backend Web Development.\n
|
||||
b. Work on REST APIs.\n
|
||||
c. Work using MEAN stack.\n
|
||||
d. Server handling and website hosting.\n
|
||||
e. Writing well designed, testable, efficient code by using best software development practices.\n
|
||||
f. Creating website layout/user interface by using standard HTML/CSS practices.\n
|
||||
g. Integrating data from various back-end services and databases.\n
|
||||
h. Gathering and refining specifications and requirements based on technical needs.\n
|
||||
i. Creating and maintaining software documentation.\n
|
||||
j. Maintaining, expanding, and scaling our website.\n
|
||||
k. Staying plugged into emerging technologies/industry trends and applying them to operations and activities."
|
||||
internship_duration_example: Please mention the the duration for which you want to hire an intern.
|
||||
skills_example: "Exceptional communication skills.\n
|
||||
A very flexible self starter.\n
|
||||
Meticulous attention to detail, a perfectionist."
|
||||
exchange_description_example: "Please enter course description and other details."
|
||||
exchange_information_example: "Documents needed:\n
|
||||
a. Official transcript.\n
|
||||
b. Passport-sized photograph.\n
|
||||
c. One-page statement of purpose (in Chinese or English).\n
|
||||
d. Photocopy of your non-Taiwanese passport.\n
|
||||
e. Medical and Accident insurance proof."
|
||||
total_internship_postings: Total Internship Postings
|
||||
total_exchange_postings: Total Exchange Postings
|
||||
total_employees: Total Employees
|
||||
|
|
|
@ -4,17 +4,54 @@ zh_tw:
|
|||
postings: 張貼資訊
|
||||
industries: 行業
|
||||
categories: 工作類別
|
||||
members: 成員
|
||||
module_name:
|
||||
recruitment: 招募
|
||||
recruitment:
|
||||
example: Exmaple
|
||||
job_title_example: For Example Executive, Manager, Supervisor etc.
|
||||
job_description_example: "For Example: Job Description for Marketing Executive
|
||||
a. Overseeing and developing marketing campaigns
|
||||
b. Conducting research and analysing data to identify and define audiences.
|
||||
c. Managing campaigns on social media
|
||||
d. Devising and presenting ideas and strategies"
|
||||
|
||||
apply: Apply
|
||||
already_applied: Already Applied
|
||||
input_zero_freshers: Please input 0 for freshers.
|
||||
please_select: Please Select
|
||||
please_write_cover_letter: Please write a cover letter
|
||||
cv_sent_along: Your CV and Rest of your profile will be sent along with it.
|
||||
pass_confirm_pass_do_not_match: Password and confirm password do not match.
|
||||
account_settings: Account Settings
|
||||
example: 例
|
||||
logout: 登出
|
||||
job_title_example: Executive, Manager, Supervisor etc.
|
||||
job_description_example: "Job Description for Marketing Executive\n
|
||||
a. Overseeing and developing marketing campaigns.\n
|
||||
b. Conducting research and analysing data to identify and define audiences.\n
|
||||
c. Managing campaigns on social media.\n
|
||||
d. Devising and presenting ideas and strategies."
|
||||
job_conditions_example: "a. Fringe Benefit Tax\n
|
||||
b. Expatriate allowances such as housing allowance, three to five weeks paid vacation, healthcare coverage etc."
|
||||
location_example: Please enter location of your workplace Example Delhi, Mumbai. Calcutta etc.
|
||||
industrial_area_example: Please mention Industrial estate i.e area zoned and planned for the purpose of Industrial development.
|
||||
joining_time_example: Please mention the tenure for the candidate to join the company.
|
||||
internship_title_example: Intern - Marketing, Intern - Sales etc.
|
||||
internship_description_example: "a. Backend Web Development.\n
|
||||
b. Work on REST APIs.\n
|
||||
c. Work using MEAN stack.\n
|
||||
d. Server handling and website hosting.\n
|
||||
e. Writing well designed, testable, efficient code by using best software development practices.\n
|
||||
f. Creating website layout/user interface by using standard HTML/CSS practices.\n
|
||||
g. Integrating data from various back-end services and databases.\n
|
||||
h. Gathering and refining specifications and requirements based on technical needs.\n
|
||||
i. Creating and maintaining software documentation.\n
|
||||
j. Maintaining, expanding, and scaling our website.\n
|
||||
k. Staying plugged into emerging technologies/industry trends and applying them to operations and activities."
|
||||
internship_duration_example: Please mention the the duration for which you want to hire an intern.
|
||||
skills_example: "Exceptional communication skills.\n
|
||||
A very flexible self starter.\n
|
||||
Meticulous attention to detail, a perfectionist."
|
||||
exchange_description_example: "Please enter course description and other details."
|
||||
exchange_information_example: "Documents needed:\n
|
||||
a. Official transcript.\n
|
||||
b. Passport-sized photograph.\n
|
||||
c. One-page statement of purpose (in Chinese or English).\n
|
||||
d. Photocopy of your non-Taiwanese passport.\n
|
||||
e. Medical and Accident insurance proof."
|
||||
total_internship_postings: 全部實習生需求列表
|
||||
total_exchange_postings: 全部交換生需求列表
|
||||
total_employees: 所有雇員
|
||||
|
|
|
@ -71,6 +71,9 @@ Rails.application.routes.draw do
|
|||
get "/addexchange", to: "recruitments#addexchange"
|
||||
get "/:id/editexchange", to: "recruitments#editexchange"
|
||||
|
||||
get "/account_settings", to: "recruitments#account_settings"
|
||||
post "/update_settings", to: "recruitments#update_settings"
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue