<% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/list-check" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/list-check" %> <% end %> <% #@activities = Activity.where(member_profile_id: current_user.member_profile.id).desc(:year).page(params[:page]).per(10) if has_access? @activities = Activity.where(member_profile_id: @member.id).sort_year_date.page(params[:page]).per(10) else @activities = Activity.where(is_hidden: false, member_profile_id: @member.id).sort_year_date.page(params[:page]).per(10) end %> <% if has_access? %> <% end %> <% if not @user%> <% end %> <% @activities.each do |activity| %> "> <% if has_access? %> <% end %> <% end %>
<%= t('personal_activity.year') %> <%= t('personal_activity.activity_name') %><%= t('personal_activity.activity_area') %>
<%= check_box_tag 'to_change[]', activity.id.to_s, false, :class => "list-check" %> <%= activity.year %> <%= link_to activity.activity_name, OrbitHelper.url_to_plugin_show(activity.to_param,'personal_activity'), target: "blank"%> <% activity.activity_name %> <% if has_access? %>
<% end %>
<%= activity.activity_area %>
<% 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+'/activities/new', :class => 'btn btn-primary' %>
<% end %>