Sha256: bac3db69fb9e3d59667aa0f5c78563f648251c3d2cf7f91b0cbb16b7d0c931b2

Contents?: true

Size: 1.37 KB

Versions: 19

Compression:

Stored size: 1.37 KB

Contents

<div class="element_head">
  <div class="element_handle">
    <span class="element_icon"></span>
    <%- if element.description.nil? -%>
    <span class="warning icon" title="<%= t("Warning: Element '%{elementname}' is missing its description.", :elementname => element.name) %>"></span>
    <%- else -%>
    <%= render_icon("element_#{element.public? ? 'public' : 'draft'}") %>
    <%- end -%>
  </div>
  <span class="element_heading">
    <span class="preview_text_element_name"><%= element.display_name %></span>
    <span class="preview_text_quote"><%= sanitize(element.preview_text) %></span>
  </span>
  <span class="ajax_folder" <%= element.trashed? ? 'style="display: none"'.html_safe : '' %>>
    <%= image_tag(
      "alchemy/ajax_loader.gif",
      :style => "display: none",
      :id => "element_#{element.id}_folder_spinner",
      :class => "element_folder_spinner"
    ) %>
    <%= link_to('', '#', {
      :onclick => "Alchemy.toggleElement(#{element.id}, '#{alchemy.fold_admin_element_path(element)}', '#{form_authenticity_token}', {title: '#{t('Warning!')}', message: '#{t(:element_dirty_notice)}', okLabel: '#{t('Yes')}', cancelLabel: '#{t('No')}'})",
      :class => element.folded? ? 'expand_element' : 'fold_element',
      :title => element.folded? ? t(:show_element_content) : t(:hide_element_content),
      :id => "element_#{element.id}_folder"
    }) %>
  </span>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.4 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.4.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.4.0 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.4.rc4 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.4.rc2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.4.rc1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.0 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.rc15 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.rc14 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.2.rc13 app/views/alchemy/admin/elements/_element_head.html.erb