recruitment/app/views/admin/recruitments/member_applications.html.erb

33 lines
942 B
Plaintext

<h3>Applications for <%= @user.name %></h3>
<table class="table main-list">
<thead>
<tr class="sort-header">
<% @table_fields.each do |f| %>
<%= thead(f) %>
<% end %>
</tr>
</thead>
<tbody>
<% @applications.each do |app| %>
<tr>
<%
job = app.get_job
company_profile = job.employer_profile
%>
<td>
<a href="/<%= I18n.locale.to_s + "/" + job.get_job_page + "/" + job.to_param %>" target="_blank"><%= job.job_title %></a>
</td>
<td>
<a href="<%= show_member_admin_recruitment_path(company_profile.recruit_profile.id) %>"><%= company_profile.company_name %></a>
</td>
<td>
<%= app.created_at.strftime("%y/%m/%d") %>
</td>
<td>
<%= job.get_post_type_label.html_safe %>
</td>
</tr>
<% end %>
</tbody>
</table>
<a href="#" onclick="window.history.back();return false;" class="btn btn-warning"><%= t(:back) %></a>