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">
|
||||
<td class="span1"><%= activity.member_profile.name %></td>
|
||||
<td class="span1"><%= activity.year %></td>
|
||||
<td class="span5"><%= activity.activity_name %>
|
||||
<div class="quick-edit">
|
||||
<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? %>
|
||||
<li><%= link_to t('edit'), edit_admin_activity_path(activity) %></li>
|
||||
|
|
|
@ -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