21 lines
1.7 KiB
Plaintext
21 lines
1.7 KiB
Plaintext
<h3>
|
|
<%= t("recruitment.welcome") %> <strong><%= @profile.name %></strong>!
|
|
<div class="pull-right logout"><a href="/pseudo_users/logoutpseudouser">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.jobs") %></a></li>
|
|
<li role="presentation" class="<%= params[:action] == "editprofile" ? "active" : "" %>"><a href="<%= editprofile_path %>"><%= t("recruitment.profile") %></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>
|
|
<li role="presentation" class="<%= params[:action] == "employee_academics" ? "active" : "" %>"><a href="<%= employee_academics_path %>"><%= t("recruitment.academics") %></a></li>
|
|
<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>
|
|
<% end %>
|
|
</ul>
|
|
<% if params[:action] == "recruitment_dashboard" && @profile.is_employer? %>
|
|
<div class="add-job">
|
|
<a href="<%= addjob_path %>" class="pull-right btn btn-primary"><%= t("recruitment.add_job") %></a>
|
|
</div>
|
|
<% end %> |