alchemy_cms 2.5.2.1 → 2.5.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
|
|
1
1
|
<%-
|
2
2
|
prefix = "<div class=\"assign_file_file_icon\">"
|
3
|
-
suffix = "</div><div class=\"assign_file_file_name\">#{file_to_assign.
|
3
|
+
suffix = "</div><div class=\"assign_file_file_name\">#{file_to_assign.filename}</div>"
|
4
4
|
-%>
|
5
5
|
<%- img_tag = "#{prefix}#{render_icon(file_to_assign.icon_css_class)}#{suffix}".html_safe -%>
|
6
|
-
<li class="assign_file_file <%= cycle('even', 'odd') %>" name="<%= file_to_assign.
|
6
|
+
<li class="assign_file_file <%= cycle('even', 'odd') %>" name="<%= file_to_assign.filename %>">
|
7
7
|
<%= link_to(
|
8
8
|
img_tag,
|
9
9
|
{
|
@@ -15,6 +15,6 @@
|
|
15
15
|
},
|
16
16
|
:remote => true,
|
17
17
|
:method => 'put',
|
18
|
-
:title => file_to_assign.
|
18
|
+
:title => file_to_assign.filename
|
19
19
|
) %>
|
20
20
|
</li>
|
@@ -5,5 +5,5 @@
|
|
5
5
|
:name => content.essence.attachment.urlname
|
6
6
|
),
|
7
7
|
:class => "file_link #{content.essence.css_class.blank? ? "" : content.essence.css_class}",
|
8
|
-
:title => "#{content.essence.title.blank? ? content.essence.attachment.
|
8
|
+
:title => "#{content.essence.title.blank? ? content.essence.attachment.filename : content.essence.title}"
|
9
9
|
) if content.essence.attachment %>
|
data/lib/alchemy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.2.
|
4
|
+
version: 2.5.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2013-03-
|
16
|
+
date: 2013-03-20 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rails
|
@@ -1131,7 +1131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1131
1131
|
version: '0'
|
1132
1132
|
segments:
|
1133
1133
|
- 0
|
1134
|
-
hash:
|
1134
|
+
hash: 1727555455499062308
|
1135
1135
|
requirements:
|
1136
1136
|
- ImageMagick (libmagick), v6.6 or greater.
|
1137
1137
|
rubyforge_project:
|