imagine_cms 4.1.1 → 4.1.2
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: 19660898df43518871e1d89a20319eb784f06308
|
4
|
+
data.tar.gz: 53f2ea2aa6774d9987641c8ff2148032c5b6a124
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bb0f4b43d50fdb5b35f31e74bfb088984aa8e938b39f68a6c5a4341b342a9b3b135969e09911d87731b7c054ba7c44c675e84c478ab8a8e5dd1732307c064bb
|
7
|
+
data.tar.gz: ac7fad0d469699fe4fb4b81f6719eb11c4f846ffc6d1f3338432e075a8f26b99fe7ad3ce7d9b5c284fec84a56fcc411d70e0912d1c10d5bbf0b9d859affc1bc3
|
@@ -637,12 +637,15 @@ module CmsApplicationHelper
|
|
637
637
|
#
|
638
638
|
# NOTE: @error and @notice are deprecated, use flash.now[:error] and flash.now[:notice] instead.
|
639
639
|
def flash_message
|
640
|
+
link = ''.html_safe
|
641
|
+
link << ' '.html_safe + link_to(flash[:link][0], flash[:link][1]) if flash[:link].present? && flash[:link].is_a?(Array)
|
642
|
+
|
640
643
|
output = ''.html_safe
|
641
644
|
if (flash[:error] || @error || '') != ''
|
642
|
-
output << content_tag('div', flash[:error] || @error, :class => 'alert alert-error error')
|
645
|
+
output << content_tag('div', h(flash[:error] || @error) + link, :class => 'alert alert-error error')
|
643
646
|
end
|
644
647
|
if (flash[:notice] || @notice || '') != ''
|
645
|
-
output << content_tag('div', flash[:notice] || @notice, :class => 'alert alert-info notice')
|
648
|
+
output << content_tag('div', h(flash[:notice] || @notice) + link, :class => 'alert alert-info notice')
|
646
649
|
end
|
647
650
|
output
|
648
651
|
end
|
data/lib/imagine_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imagine_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Namba
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|