add link to the activity
This commit is contained in:
parent
862b4bd8df
commit
77179fa0fc
|
@ -2,8 +2,8 @@
|
||||||
<tr id="<%= dom_id activity %>" class="with_action">
|
<tr id="<%= dom_id activity %>" class="with_action">
|
||||||
<td class="span1"><%= activity.member_profile.name %></td>
|
<td class="span1"><%= activity.member_profile.name %></td>
|
||||||
<td class="span1"><%= activity.year %></td>
|
<td class="span1"><%= activity.year %></td>
|
||||||
<td class="span5"><%= activity.activity_name %>
|
<td class="span5"><%= link_to activity.activity_name, OrbitHelper.url_to_plugin_show(activity.to_param,'personal_activity'), target: "blank"%>
|
||||||
<div class="quick-edit">
|
<div class="quick-edit">
|
||||||
<ul class="nav nav-pills hide">
|
<ul class="nav nav-pills hide">
|
||||||
<% if current_user.is_admin? %>
|
<% if current_user.is_admin? %>
|
||||||
<li><%= link_to t('edit'), edit_admin_activity_path(activity) %></li>
|
<li><%= link_to t('edit'), edit_admin_activity_path(activity) %></li>
|
||||||
|
|
|
@ -39,7 +39,7 @@ end
|
||||||
<% end %>
|
<% end %>
|
||||||
<td><%= activity.year %></td>
|
<td><%= activity.year %></td>
|
||||||
<td>
|
<td>
|
||||||
<%#= link_to activity.create_link, OrbitHelper.url_to_plugin_show(activity.to_param,'personal_activity'), target: "blank"%>
|
<%= link_to activity.activity_name, OrbitHelper.url_to_plugin_show(activity.to_param,'personal_activity'), target: "blank"%>
|
||||||
<% activity.activity_name %>
|
<% activity.activity_name %>
|
||||||
<% if has_access? %>
|
<% if has_access? %>
|
||||||
<div class="quick-edit">
|
<div class="quick-edit">
|
||||||
|
@ -66,8 +66,8 @@ end
|
||||||
<% if has_access? %>
|
<% if has_access? %>
|
||||||
<div class="action pull-right">
|
<div class="action pull-right">
|
||||||
<%#= link_to content_tag(:i, nil, :class => 'icon-edit') +' '+ t('setting'),'/admin/members/'+@member.to_param+'/books/frontend_setting', :class => 'btn btn-primary' %>
|
<%#= link_to content_tag(:i, nil, :class => 'icon-edit') +' '+ t('setting'),'/admin/members/'+@member.to_param+'/books/frontend_setting', :class => 'btn btn-primary' %>
|
||||||
<%#= link_to content_tag(:i, nil, :class => 'icon-plus') +' '+ t('new_'),
|
<%= link_to content_tag(:i, nil, :class => 'icon-plus') +' '+ t('new_'),
|
||||||
'/admin/members/'+@member.to_param+'/books/new', :class => 'btn btn-primary' %>
|
'/admin/members/'+@member.to_param+'/activities/new', :class => 'btn btn-primary' %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="pagination pagination-centered">
|
<div class="pagination pagination-centered">
|
||||||
|
|
Loading…
Reference in New Issue