Sha256: cb684d2f0372839a9641efc624141359ddb47e888be82daaec51d9972ac9bb33

Contents?: true

Size: 1.11 KB

Versions: 60

Compression:

Stored size: 1.11 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) %>
  <%= 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

60 entries across 60 versions & 1 rubygems

Version Path
alchemy_cms-7.0.16 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.15 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-6.1.10 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.14 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.13 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.12 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.11 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.10 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.9 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.8 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.7 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.6 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.5 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.4 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.3 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-6.1.9 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.2 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-6.1.8 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-6.1.7 app/views/alchemy/admin/elements/_header.html.erb
alchemy_cms-7.0.1 app/views/alchemy/admin/elements/_header.html.erb