Add url to frontend

This commit is contained in:
manson 2014-07-04 12:16:46 +08:00
parent 1de7e5c509
commit 927bf12fc2
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<tr id="<%= dom_id honor %>" class="<%= honor.is_hidden ? "checkHide" : "" %>">
<td><%= honor.year %></td>
<td>
<%= link_to honor.award_name, '', target: "blank"%>
<%= link_to honor.award_name, OrbitHelper.url_to_plugin_show(honor.to_param,'personal_honor'), target: "blank"%>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit'), '/admin/members/'+honor.member_profile.to_param+'/honors/'+honor.id+'/edit' %></li>

View File

@ -45,7 +45,7 @@
<% end %>
<td><%= honor.year %></td>
<td>
<%= link_to honor.award_name, '', target: "blank"%>
<%= link_to honor.award_name, OrbitHelper.url_to_plugin_show(honor.to_param,'personal_honor'), target: "blank"%>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit'), '/admin/members/'+@member.to_param+'/honors/'+honor.id+'/edit' %></li>