Sha256: 247db02b24305f37767378146de8bcd4cd341897d1b2435d0ed462728c0f1865

Contents?: true

Size: 980 Bytes

Versions: 11

Compression:

Stored size: 980 Bytes

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) unless element.trashed? %>
  <span class="ajax_folder" <%= element.trashed? ? 'style="display: none"'.html_safe : '' %>>
    <%= link_to '', '#', {
      'data-element-dirty' => 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

11 entries across 11 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/elements/_element_head.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/elements/_element_head.html.erb