Sha256: 0c97b4be6310933dd0de78598611dca93e8e8488733529e2f76742aacefe167a

Contents?: true

Size: 1.75 KB

Versions: 20

Compression:

Stored size: 1.75 KB

Contents

<li>
  <div class="sitemap_page ">
    <div class="sitemap_left_images">
      <%= render_icon(:page) %>
    </div>
    <div class="sitemap_right_tools">
      {{#unless redirects_to_external}}
      <div class="button_with_label sitemap_tool">
        <%= link_to render_icon(:element_window),
          alchemy.list_admin_elements_path(page_id: '__ID__').gsub('__ID__', '{{id}}'),
          remote: true,
          data: {
            'page-id' => '{{id}}',
            url: @url_prefix + '{{urlname}}'
          },
          class: "show_elements_to_link"
        %>
        <label class="left"><%= Alchemy.t(:show_elements_from_page) %></label>
      </div>
      {{/unless}}
    </div>
    <div class="page_infos">
      <span class="page_status">
        <span class="icon {{#unless public}}not_{{/unless}}public"></span>
      </span>
      <span class="page_status">
        <span class="icon {{#unless visible}}not_{{/unless}}visible"></span>
      </span>
      <span class="page_status">
        <span class="icon {{#unless restricted}}not_{{/unless}}restricted"></span>
      </span>
    </div>
    <div class="sitemap_sitename" id="sitemap_sitename_{{id}}" name="/<%= "#{Alchemy::Language.current.code}/" if multi_language? %>{{urlname}}">
      {{#if redirects_to_external}}
        <span class="sitemap_pagename_link inactive">{{ name }}</span>
      {{else}}
        <%= link_to('{{ name }}', '', {
          data: {
            'page-id' => '{{id}}',
            url: @url_prefix + '{{urlname}}'
          },
          title: Alchemy.t('page_for_links.choose_page', name: '{{name}}'),
          class: "sitemap_pagename_link"
        }) %>
      {{/if}}
    </div>
  </div>
  {{#if children}}
    <ul id="page_{{id}}_children">
      {{> list}}
    </ul>
  {{/if}}
</li>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.5.0 app/views/alchemy/admin/pages/_page_for_links.html.erb
alchemy_cms-3.5.0.rc2 app/views/alchemy/admin/pages/_page_for_links.html.erb