forked from saurabh/personal-diploma
Add url to frontend
This commit is contained in:
parent
bcb21d2126
commit
74b92c97e7
|
@ -2,7 +2,7 @@
|
|||
<tr id="<%= dom_id diploma %>" class="<%= diploma.is_hidden ? "checkHide" : "" %>">
|
||||
<td><%= diploma.duration %></td>
|
||||
<td>
|
||||
<%= link_to diploma.school_name, '', target: "blank"%>
|
||||
<%= link_to diploma.school_name, OrbitHelper.url_to_plugin_show(diploma.to_param,'personal_diploma'), target: "blank"%>
|
||||
<div class="quick-edit">
|
||||
<ul class="nav nav-pills hide">
|
||||
<li><%= link_to t('edit'), '/admin/members/'+diploma.member_profile.to_param+'/diplomas/'+diploma.id+'/edit' %></li>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<% end %>
|
||||
<td><%= diploma.duration %></td>
|
||||
<td>
|
||||
<%= link_to diploma.school_name, '', target: "blank"%>
|
||||
<%= link_to diploma.school_name, OrbitHelper.url_to_plugin_show(diploma.to_param,'personal_diploma'), target: "blank"%>
|
||||
<div class="quick-edit">
|
||||
<ul class="nav nav-pills hide">
|
||||
<li><%= link_to t('edit'), '/admin/members/'+@member.to_param+'/diplomas/'+diploma.id+'/edit' %></li>
|
||||
|
|
Loading…
Reference in New Issue