Sha256: da0f3513847b07acb9b9efbc68a124b26fe6161a4dec265f15c55d4a50db1f76

Contents?: true

Size: 1.24 KB

Versions: 89

Compression:

Stored size: 1.24 KB

Contents

<% content_for(:title) do %>
  <%= Alchemy.t(:menus, scope: 'modules') %>
<% end %>

<% content_for(:toolbar) do %>
  <div class="toolbar_buttons">
    <%= render 'alchemy/admin/partials/site_select' %>
    <%= render 'alchemy/admin/partials/language_tree_select' %>
    <%= toolbar_button(
      icon: 'plus',
      label: Alchemy.t(:create_menu),
      url: alchemy.new_admin_node_path,
      hotkey: 'alt+n',
      dialog_options: {
        title: Alchemy.t(:create_menu),
        size: '450x120'
      },
      if_permitted_to: [:create, Alchemy::Node]
    ) if @root_nodes.any? %>
  </div>
<% end %>

<div id="archive_all">
  <h1 id="node_filter_result"></h1>
  <% if @root_nodes.any? %>
    <% @root_nodes.each do |root_node| %>
      <ul class="nodes_tree list">
        <%= render 'node', node: root_node %>
      </ul>
    <% end %>
  <% else %>
    <div class="panel no-resource-found">
      <%= render_message do %>
        <%== Alchemy.t('alchemy/node', scope: :no_resource_found) %>
      <% end %>
      <%= render 'form', node: Alchemy::Node.new(
          site: Alchemy::Site.current,
          language: Alchemy::Language.current
        ),
        button_label: Alchemy.t(:create) %>
    </div>
  <% end %>
</div>

<script>
  Alchemy.NodeTree()
</script>

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
alchemy_cms-6.1.10 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.9 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.8 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.7 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.6 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-7.0.0.pre.b app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.5 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.0.14 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.4 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-7.0.0.pre.a app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.0.13 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.3 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.2 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.1 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.1.0 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.0.12 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.0.11 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.0.10 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-5.3.8 app/views/alchemy/admin/nodes/index.html.erb
alchemy_cms-6.0.9 app/views/alchemy/admin/nodes/index.html.erb