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