Sha256: ca9ccf7e8e5f4399223cc70aa4baa18e500b17f573bbce36f1fd442ce1dfc7c2

Contents?: true

Size: 1.63 KB

Versions: 11

Compression:

Stored size: 1.63 KB

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alchemy_cms-2.0.4 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0.3.1 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.1.beta1 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0.3 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0.2 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0.1 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0.rc6 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0.rc5 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0.rc4 app/views/essences/_essence_file_editor.html.erb
alchemy_cms-2.0.rc3 app/views/essences/_essence_file_editor.html.erb