<% provide(:head_title, t("protocols.index.head_title")) %> <% if current_organization %> <%= render partial: "protocols/breadcrumbs.html.erb", locals: { organizations: @organizations, current_organization: @current_organization, type: @type } %>
<% if @type.in? [:public, :private] %>
<%= t(@type == :public ? "protocols.index.public_description" : "protocols.index.private_description") %>
<% else %>
<%= t("protocols.index.archive.description") %>
<% end %>
<% if @type == :public %> <% elsif @type == :private %> <% else %> <% end %>
<%= t("protocols.index.thead_name") %> <%= t("protocols.index.thead_keywords") %> <%= t("protocols.index.thead_nr_of_linked_children") %><%= t("protocols.index.thead_published_by") %> <%= t("protocols.index.thead_published_on") %><%= t("protocols.index.thead_added_by") %> <%= t("protocols.index.thead_created_at") %><%= t("protocols.index.thead_archived_by") %> <%= t("protocols.index.thead_archived_on") %><%= t("protocols.index.thead_updated_at") %>
<% else %>

<%= t("protocols.index.no_orgs.title") %>

<%= t("protocols.index.no_orgs.text") %>

<%= link_to t("protocols.index.no_orgs.btn"), organizations_path, class: "btn btn-primary" %>

<% end %> <%= render partial: "protocols/index/create_new_modal.html.erb" %> <%= render partial: "protocols/index/make_private_results_modal.html.erb" %> <%= render partial: "protocols/index/publish_results_modal.html.erb" %> <%= render partial: "protocols/index/confirm_archive_modal.html.erb" %> <%= render partial: "protocols/index/archive_results_modal.html.erb" %> <%= render partial: "protocols/index/restore_results_modal.html.erb" %> <%= render partial: "protocols/index/import_results_modal.html.erb" %> <%= render partial: "protocols/index/linked_children_modal.html.erb" %> <%= render partial: "protocols/index/protocol_preview_modal.html.erb" %> <%= render partial: "protocols/import_export/import_elements.html.erb" %> <%= stylesheet_link_tag 'datatables' %> <%= javascript_include_tag "protocols/index" %> <%= javascript_include_tag "protocols/steps" %> <%= javascript_include_tag "lodash" %> <%= javascript_include_tag "numeral" %> <%= javascript_include_tag "numeric" %> <%= javascript_include_tag "md5" %> <%= javascript_include_tag "jstat" %> <%= javascript_include_tag "formula" %> <%= javascript_include_tag "parser" %> <%= javascript_include_tag "ruleJS" %> <%= javascript_include_tag "handsontable.formula" %> <%= javascript_include_tag "big.min" %> <%= stylesheet_link_tag "handsontable.formula" %>