Sha256: 69ac32c83208c418098a74f2887e78242d324506bb76d2bd1563f1bc0c7a0f69

Contents?: true

Size: 1.04 KB

Versions: 59

Compression:

Stored size: 1.04 KB

Contents

<div class="element-header<%= ' has-hint' if element.has_hint? %>">
  <span class="element-handle">
    <% if element.definition.blank? %>
      <%= hint_with_tooltip Alchemy.t(:element_definition_missing) %>
    <% else %>
      <% if element.public? %>
        <%= render_icon('window-maximize', style: 'regular', class: 'element') %>
      <% else %>
        <%= render_icon('window-close', class: 'element') %>
      <% end %>
    <% end %>
  </span>
  <span class="element-title">
    <span class="preview_text_element_name"><%= element.display_name %></span>
    <span class="preview_text_quote">
      <%= sanitize(element.preview_text.presence || '&nbsp;') %>
    </span>
  </span>
  <%= render_hint_for(element) unless element.trashed? %>
  <%= link_to '#', {
    'data-element-toggle' => element.id,
    title: Alchemy.t(element.folded? ? :show_element_content : :hide_element_content),
    id: "element_#{element.id}_folder",
    class: "ajax-folder"
  } do %>
    <%= render_icon element.folded? ? 'plus-square' : 'minus-square' %>
  <% end %>
</div>

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
alchemy_cms-5.1.10 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.0.10 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-4.6.7 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.1.9 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.0.9 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-4.6.6 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.1.8 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.0.8 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-4.6.5 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-4.5.1 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-4.4.5 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-4.6.4 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.0.7 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.1.7 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.1.6 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.0.6 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.1.5 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.0.5 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.1.4 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-4.6.3 app/views/alchemy/admin/elements/_element_header.html.erb