radiant-clipped-extension 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,4 +17,5 @@
|
|
17
17
|
= f.text_field :caption, :class => 'textbox', :maxlength => 255
|
18
18
|
= render_region :extended_metadata, :locals => {:f => f}
|
19
19
|
.drawer_handle
|
20
|
-
%a.toggle{:href=>'#attributes', :rel=>"toggle[attributes]"
|
20
|
+
%a.toggle.more{:href=>'#attributes', :rel=>"toggle[attributes]"}
|
21
|
+
= t('more')
|
data/lib/asset_tags.rb
CHANGED
@@ -48,7 +48,7 @@ module AssetTags
|
|
48
48
|
tag 'asset_list' do |tag|
|
49
49
|
raise TagError, "r:asset_list: no assets to list" unless tag.locals.assets
|
50
50
|
options = tag.attr.symbolize_keys
|
51
|
-
result =
|
51
|
+
result = ""
|
52
52
|
paging = pagination_find_options(tag)
|
53
53
|
assets = paging ? tag.locals.assets.paginate(paging) : tag.locals.assets.all
|
54
54
|
assets.each do |asset|
|
@@ -29,15 +29,6 @@ namespace :radiant do
|
|
29
29
|
mkdir_p RAILS_ROOT + directory, :verbose => false
|
30
30
|
cp_r file, RAILS_ROOT + path, :verbose => false
|
31
31
|
end
|
32
|
-
|
33
|
-
# unless ClippedExtension.starts_with? RAILS_ROOT # don't need to copy vendored tasks
|
34
|
-
# puts "Copying rake tasks from ClippedExtension"
|
35
|
-
# local_tasks_path = File.join(RAILS_ROOT, %w(lib tasks))
|
36
|
-
# mkdir_p local_tasks_path, :verbose => false
|
37
|
-
# Dir[File.join ClippedExtension.root, %w(lib tasks *.rake)].each do |file|
|
38
|
-
# cp file, local_tasks_path, :verbose => false
|
39
|
-
# end
|
40
|
-
# end
|
41
32
|
|
42
33
|
desc "Syncs all available translations for this ext to the English ext master"
|
43
34
|
task :sync => :environment do
|
@@ -89,7 +89,7 @@ Asset.Detach = Behavior.create({
|
|
89
89
|
Asset.Insert = Behavior.create({
|
90
90
|
onclick: function(e) {
|
91
91
|
if (e) e.stop();
|
92
|
-
var part_name = TabControlBehavior.instances[0].controller.selected.caption;
|
92
|
+
var part_name = TabControlBehavior.instances[0].controller.selected.caption.toLowerCase();
|
93
93
|
if (part_name.indexOf(' ')) part_name = part_name.replace(' ', '-');
|
94
94
|
var textbox = $('part_' + part_name + '_content');
|
95
95
|
var tag_parts = this.element.getAttribute('rel').split('_');
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-clipped-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 11
|
10
|
+
version: 1.0.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Keith Bingman
|
@@ -18,7 +18,8 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2011-
|
21
|
+
date: 2011-10-23 00:00:00 +01:00
|
22
|
+
default_executable:
|
22
23
|
dependencies:
|
23
24
|
- !ruby/object:Gem::Dependency
|
24
25
|
name: acts_as_list
|
@@ -200,6 +201,7 @@ files:
|
|
200
201
|
- wireframes/edit-page-assets.png
|
201
202
|
- wireframes/edit-page.bmml
|
202
203
|
- wireframes/edit-page.png
|
204
|
+
has_rdoc: true
|
203
205
|
homepage: http://radiantcms.org
|
204
206
|
licenses: []
|
205
207
|
|
@@ -229,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
231
|
requirements: []
|
230
232
|
|
231
233
|
rubyforge_project:
|
232
|
-
rubygems_version: 1.
|
234
|
+
rubygems_version: 1.5.3
|
233
235
|
signing_key:
|
234
236
|
specification_version: 3
|
235
237
|
summary: Assets for Radiant CMS
|