forked from saurabh/personal-lab
Add url to frontend
This commit is contained in:
parent
8f6c892f87
commit
983c44db02
|
@ -2,7 +2,7 @@
|
||||||
<tr id="<%= dom_id lab %>" class="<%= lab.is_hidden ? "checkHide" : "" %>">
|
<tr id="<%= dom_id lab %>" class="<%= lab.is_hidden ? "checkHide" : "" %>">
|
||||||
<td><%= lab.year %></td>
|
<td><%= lab.year %></td>
|
||||||
<td>
|
<td>
|
||||||
<%= link_to lab.lab_title, '', target: "blank"%>
|
<%= link_to lab.lab_title, OrbitHelper.url_to_plugin_show(lab.to_param,'personal_lab'), target: "blank"%>
|
||||||
<div class="quick-edit">
|
<div class="quick-edit">
|
||||||
<ul class="nav nav-pills hide">
|
<ul class="nav nav-pills hide">
|
||||||
<li><%= link_to t('edit'), '/admin/members/'+lab.member_profile.to_param+'/labs/'+lab.id+'/edit' %></li>
|
<li><%= link_to t('edit'), '/admin/members/'+lab.member_profile.to_param+'/labs/'+lab.id+'/edit' %></li>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<td><%= lab.year %></td>
|
<td><%= lab.year %></td>
|
||||||
<td>
|
<td>
|
||||||
<%= link_to lab.lab_title, '', target: "blank"%>
|
<%= link_to lab.lab_title, OrbitHelper.url_to_plugin_show(lab.to_param,'personal_lab'), target: "blank"%>
|
||||||
<div class="quick-edit">
|
<div class="quick-edit">
|
||||||
<ul class="nav nav-pills hide">
|
<ul class="nav nav-pills hide">
|
||||||
<li><%= link_to t('edit'), '/admin/members/'+@member.to_param+'/labs/'+lab.id+'/edit' %></li>
|
<li><%= link_to t('edit'), '/admin/members/'+@member.to_param+'/labs/'+lab.id+'/edit' %></li>
|
||||||
|
|
Loading…
Reference in New Issue