Add url to frontend

This commit is contained in:
manson 2014-07-04 12:15:12 +08:00
parent 9b17011668
commit a5b800b0ab
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<tr id="<%= dom_id experience %>" class="<%= experience.is_hidden ? "checkHide" : "" %>"> <tr id="<%= dom_id experience %>" class="<%= experience.is_hidden ? "checkHide" : "" %>">
<td><%= experience.duration %></td> <td><%= experience.duration %></td>
<td> <td>
<%= link_to experience.organizationt_title, '', target: "blank"%> <%= link_to experience.organizationt_title, OrbitHelper.url_to_plugin_show(experience.to_param,'personal_experience'), 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/'+experience.member_profile.to_param+'/experiences/'+experience.id+'/edit' %></li> <li><%= link_to t('edit'), '/admin/members/'+experience.member_profile.to_param+'/experiences/'+experience.id+'/edit' %></li>

View File

@ -45,7 +45,7 @@
<% end %> <% end %>
<td><%= experience.duration %></td> <td><%= experience.duration %></td>
<td> <td>
<%= link_to experience.organizationt_title, '', target: "blank"%> <%= link_to experience.organizationt_title, OrbitHelper.url_to_plugin_show(experience.to_param,'personal_experience'), 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+'/experiences/'+experience.id+'/edit' %></li> <li><%= link_to t('edit'), '/admin/members/'+@member.to_param+'/experiences/'+experience.id+'/edit' %></li>