Add url to frontend
This commit is contained in:
parent
b351e858c7
commit
ee40481f1b
|
@ -4,7 +4,7 @@ class PersonalConferencesController < ApplicationController
|
|||
writing_conference_list = writing_conferences.collect do |writing_conference|
|
||||
{
|
||||
"year" => writing_conference.year,
|
||||
"paper_title" => writing_conference.paper_title,
|
||||
"paper_title" => writing_conference.create_link,
|
||||
"author" => writing_conference.member_profile.name,
|
||||
"link_to_show" => OrbitHelper.url_to_show(writing_conference.to_param)
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<tr id="<%= dom_id writing_conference %>" class="<%= writing_conference.is_hidden ? "checkHide" : "" %>">
|
||||
<td><%= writing_conference.year %></td>
|
||||
<td>
|
||||
<%= link_to writing_conference.create_link, '', target: "blank"%>
|
||||
<%= link_to writing_conference.paper_title, OrbitHelper.url_to_plugin_show(writing_conference.to_param,'personal_conference'), target: "blank"%>
|
||||
<div class="quick-edit">
|
||||
<ul class="nav nav-pills hide">
|
||||
<li><%= link_to t('edit'), '/admin/members/'+writing_conference.member_profile.to_param+'/writing_conferences/'+writing_conference.id+'/edit' %></li>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<% end %>
|
||||
<td><%= writing_conference.year %></td>
|
||||
<td>
|
||||
<%= link_to writing_conference.create_link, '', target: "blank"%>
|
||||
<%= link_to writing_conference.paper_title, OrbitHelper.url_to_plugin_show(writing_conference.to_param,'personal_conference'), target: "blank"%>
|
||||
<div class="quick-edit">
|
||||
<ul class="nav nav-pills hide">
|
||||
<li><%= link_to t('edit'), '/admin/members/'+@member.to_param+'/writing_conferences/'+writing_conference.id+'/edit' %></li>
|
||||
|
|
Loading…
Reference in New Issue