+
<%= link_to activity.activity_name, OrbitHelper.url_to_plugin_show(activity.to_param,'personal_activity'), target: "blank"%>
+
<% if current_user.is_admin? %>
- <%= link_to t('edit'), edit_admin_activity_path(activity) %>
diff --git a/app/views/plugin/personal_activity/_profile.html.erb b/app/views/plugin/personal_activity/_profile.html.erb
index 3292ce3..f782eba 100644
--- a/app/views/plugin/personal_activity/_profile.html.erb
+++ b/app/views/plugin/personal_activity/_profile.html.erb
@@ -39,7 +39,7 @@ end
<% end %>
<%= activity.year %> |
- <%#= 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? %>
@@ -66,8 +66,8 @@ end
<% if has_access? %>
<%#= 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' %>
<% end %>
| |