effective_assets 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1952d876351e15e101d6040786baf45e4762b1c7
|
4
|
+
data.tar.gz: ca88463387c6efbeb7b6b6511b0712e0f195f50e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 676962147ad354c9a01d947ef2345df8e4de646beb9425d06c996f731770ed55d23aaeb3185ff4e84ff5b66a053bf744a77a7bac53ade723ea380d89daf25350
|
7
|
+
data.tar.gz: 94c54220ad670e4fb928f13521e7f4fcba9a24f48962c14978e70e5e502795ead0f0f265653d0987770d0bc0219a7e5c16f5f223d5d1dd5d374a291fe3a9e24e
|
@@ -25,6 +25,13 @@ CKEDITOR.dialog.add 'effective_asset', (editor) ->
|
|
25
25
|
label: 'HTML Class',
|
26
26
|
setup: (widget) -> this.setValue(widget.data.html_class)
|
27
27
|
commit: (widget) -> widget.setData('html_class', this.getValue()) if widget
|
28
|
+
},
|
29
|
+
{
|
30
|
+
id: 'link_title',
|
31
|
+
type: 'text',
|
32
|
+
label: 'Title',
|
33
|
+
setup: (widget) -> this.setValue(widget.data.link_title)
|
34
|
+
commit: (widget) -> widget.setData('link_title', this.getValue()) if widget
|
28
35
|
}
|
29
36
|
] # /tab1 elements
|
30
37
|
}, # /tab1
|
@@ -5,4 +5,4 @@
|
|
5
5
|
- elsif asset.image?
|
6
6
|
= effective_asset_image_tag(asset, nil, :class => effective_asset.html_class)
|
7
7
|
- else
|
8
|
-
= effective_asset_link_to(asset, nil, :class => effective_asset.html_class)
|
8
|
+
= effective_asset_link_to(asset, nil, :class => effective_asset.html_class, :title => effective_asset.link_title.presence)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|