Sha256: c74986182968f300469bfd74b937da550ffdfba793344b89a811d316d1a8ba35

Contents?: true

Size: 1.13 KB

Versions: 19

Compression:

Stored size: 1.13 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) %>
    <% elsif element.deprecated? %>
      <%= hint_with_tooltip element.deprecation_notice %>
    <% 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

19 entries across 19 versions & 1 rubygems

Version Path
alchemy_cms-5.3.8 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.3.7 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.3.6 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.3.5 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.3.4 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.3.3 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.3.2 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.3.1 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.3.0 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.7 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.6 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.5 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.4 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.3 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.2 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.1 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.0 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.0.rc1 app/views/alchemy/admin/elements/_element_header.html.erb
alchemy_cms-5.2.0.b1 app/views/alchemy/admin/elements/_element_header.html.erb