Sha256: 26bdbba8faf6021baaa6cbdc29d5692d89dd0ed276dfe37d5fde01cbe45db633

Contents?: true

Size: 975 Bytes

Versions: 27

Compression:

Stored size: 975 Bytes

Contents

<div class="element_head">
  <div class="element_handle">
    <%= render_icon(:element) %>
    <% 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) unless element.trashed? %>
  <span class="ajax_folder" <%= element.trashed? ? 'style="display: none"'.html_safe : '' %>>
    <%= link_to '', '#', {
      'data-element-toggle' => element.id,
      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

27 entries across 27 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/elements/_element_head.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/elements/_element_head.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/elements/_element_head.html.erb