Sha256: 90d072aa371126ff40d4941eac16e02c5f186c887726dcdbc893bdc5b9fec4f3

Contents?: true

Size: 1.34 KB

Versions: 9

Compression:

Stored size: 1.34 KB

Contents

<div class="element_head">
  <div class="element_handle">
    <span class="element_icon"></span>
    <% if element.description.blank? %>
    <span class="warning icon" title="<%= _t(:element_description_missing) %>"></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>
  <%= render_hint_for(element) %>
  <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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/elements/_element_head.html.erb