% 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 %> <% @filter = params[:filter] new_filter = params[:new_filter] if @filter && params[:clear] @filter.delete(params[:type]) elsif @filter && new_filter if @filter.has_key?(new_filter[:type]) && @filter[new_filter[:type]].include?(new_filter[:id].to_s) @filter[new_filter[:type]].delete(new_filter[:id].to_s) elsif @filter.has_key?(new_filter[:type]) @filter[new_filter[:type]] << new_filter[:id].to_s else @filter.merge!({new_filter[:type] => [new_filter[:id].to_s]}) end elsif new_filter @filter = {new_filter[:type] => [new_filter[:id].to_s]} end if @member && @member.user.is_admin? @writing_journals = JournalPaper.where(member_profile_id: @member.id).desc(:year).page(params[:page]).per(10) else @writing_journals = JournalPaper.where(is_hidden: false, member_profile_id: @member.id).desc(:year).page(params[:page]).per(10) end %> <% if current_user.is_admin? %>
<% end -%> | <%= t('personal_journal.year') %> | <%= t('module_name.personal_journal') %> | <% if not @user%><%= t('personal_journal.authors') %> | <% end %>
---|---|---|---|
<%= check_box_tag 'to_change[]', writing_journal.id.to_s, false, :class => "list-check" %> | <% end -%><%= writing_journal.year %> |
<%= link_to writing_journal.create_link, page_for_journal_paper(writing_journal), target: "blank"%>
|
<%= writing_journal.authors %> |