Sha256: d0a5c154cf94b038cb5206174c251db0347d49eed450d1933e796ff39706f488

Contents?: true

Size: 1.98 KB

Versions: 20

Compression:

Stored size: 1.98 KB

Contents

<div class="content_editor" id="<%= content_dom_id(content) %>">
  <label style="display: inline">
    <%= render_content_name(content) %>
    <%= delete_content_link(content) %>
  </label>
  <div class="file" id="file_<%= content.id %>">
    <div class="file_icon">
    <%- if content.ingredient.nil? -%>
      <%= link_to_overlay_window("",
        alchemy.admin_attachments_path(
          :content_id => content.id,
          :only => options[:file_assign_show_only],
          :except => options[:file_assign_do_not_show],
          :options => options
        ),
        {
          :title => t('assign_file'),
          :size => '520x400',
          :resizable => 'true'
        },
        :class => 'assign_file',
        :title => t('assign_file')
      ) %>
    <%- else -%>
      <%= render_icon(content.ingredient.icon_css_class) %>
    <%- end -%>
    </div>
    <div class="file_name">
      <%= content.ingredient.name rescue ("&#x2190;" + t('assign_file_from_archive')).html_safe %>
    </div>
    <%- unless content.ingredient.nil? -%>
    <%= hidden_field_tag content.form_field_name(:attachment_id), content.ingredient.id %>
    <div class="essence_file_tools">
      <%= link_to_overlay_window("",
        alchemy.admin_attachments_path(
          :content_id => content.id,
          :only => options[:file_assign_show_only],
          :except => options[:file_assign_do_not_show],
          :options => options
        ),
        {
          :title => t('assign_file'),
          :size => '520x400',
          :resizable => 'true'
        },
        :class => 'assign_file',
        :title => t('assign_file')
      ) %>
      <%= link_to_overlay_window("",
        url_for(
          :controller => 'essence_files',
          :action => 'edit',
          :id => content
        ),
        {
          :title => t('edit_file_properties'),
          :size => '400x150'
        },
        :class => 'edit_file',
        :title => t('edit_file_properties')
      ) %>
    </div>
    <%- end -%>
  </div>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.2.4 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.4.1 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.5.0.b5 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.5.0.b2 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.4.0 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.4.rc4 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.4.rc2 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.4.rc1 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.3.1 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.3.0 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.2.2 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.2.1 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.2.0 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.2.rc15 app/views/alchemy/essences/_essence_file_editor.html.erb
alchemy_cms-2.2.rc14 app/views/alchemy/essences/_essence_file_editor.html.erb