37 lines
926 B
Plaintext
37 lines
926 B
Plaintext
|
<% # encoding: utf-8 %>
|
||
|
|
||
|
<%= flash_messages %>
|
||
|
|
||
|
<h1><%= t('module_name.personal_honor') %></h1>
|
||
|
|
||
|
<table class="table">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th class="grid1"><%= t('personal_honor.honor_category') %></th>
|
||
|
<th class="grid1"><%= t('personal_honor.year') %></th>
|
||
|
<th class="grid5"><%= t('personal_honor.award_name') %></th>
|
||
|
<th class="grid5"><%= t('personal_honor.award_winner') %></th>
|
||
|
<th class="grid3"><%= t('personal_honor.awarding_unit') %></th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
|
||
|
<% @honors.each do |honor| %>
|
||
|
|
||
|
<tr>
|
||
|
<td><%= honor.honor_category.title %></td>
|
||
|
<td><%= honor.year %></td>
|
||
|
<td>
|
||
|
<%= link_to honor.award_name, panel_personal_honor_front_end_honor_path(honor) %>
|
||
|
</td>
|
||
|
<td><%= User.from_id(honor.create_user_id).name rescue '' %></td>
|
||
|
<td><%= honor.awarding_unit %></td>
|
||
|
</tr>
|
||
|
|
||
|
<% end %>
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
|
||
|
<%= paginate @honors, :params => {:inner => false}%>
|