2018-01-17 18:22:24 +00:00
|
|
|
<% if params[:type] == "posting" %>
|
|
|
|
<h4>
|
2018-01-19 09:08:40 +00:00
|
|
|
<%= t("recruitment.posting_for_the_month") %>
|
|
|
|
<b><i> <%= @startdt.strftime("%B %Y") %></i></b>
|
2018-01-17 18:22:24 +00:00
|
|
|
</h4>
|
|
|
|
<%= column_chart @data, ytitle: t("recruitment.number_of_posts"), label: t("recruitment.number_of_posts"), id: "posting_chart" %>
|
|
|
|
<% elsif params[:type] == "registration" %>
|
|
|
|
<h4>
|
2018-01-19 09:08:40 +00:00
|
|
|
<%= t("recruitment.registration_for_month") %>
|
|
|
|
<b><i> <%= @startdt.strftime("%B %Y") %></i></b>
|
2018-01-17 18:22:24 +00:00
|
|
|
</h4>
|
|
|
|
<%= column_chart @data, ytitle: t("recruitment.number_of_registered_users"), label: t("recruitment.number_of_registered_users"), id: "registration_chart", colors: ["#f2096e"] %>
|
|
|
|
<% elsif params[:type] == "filled" %>
|
|
|
|
<h4>
|
2018-01-19 09:08:40 +00:00
|
|
|
<%= t("recruitment.positions_for_month") %>
|
|
|
|
<b><i> <%= @startdt.strftime("%B %Y") %></i></b>
|
2018-01-17 18:22:24 +00:00
|
|
|
</h4>
|
|
|
|
<%= column_chart @data, ytitle: t("recruitment.number_of_positions_filled"), label: t("recruitment.number_of_positions_filled"), id: "filled_chart", colors: ["#aff109"] %>
|
|
|
|
<% end %>
|