Add url to frontend
This commit is contained in:
parent
1de7e5c509
commit
927bf12fc2
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue