thecore_dataentry_with_date_start_and_end 1.1.3 → 1.1.6
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: a59f5206e9543795a8c87803b1915a228451b36d
|
4
|
+
data.tar.gz: 9909c44545ccf59bd7d38fe54f9a45d544ca1e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e5f21567706efd1cbd2f62dd9b2849d4a6ecfaa65807bdf668db882dcdcc01c2cfe34f5b90b594997fe3dafb376707f6c810f4808b256bca38e3a1cebd21715
|
7
|
+
data.tar.gz: 6ce6eb8e6e8511c76a5ebd07995a51e2b919f984d3c427fb1a8d0b9617ad2e5c30b838d909841e2b1479150da2f85f2f3885a70b5ca9dd5c1cc52e6fa6500092
|
@@ -6,10 +6,14 @@
|
|
6
6
|
function contentHtmlString(data){
|
7
7
|
var html = $("<div></div>");
|
8
8
|
html.append("<h3><%=t "thecore_dataentry_with_date_start_and_end.header" %> "+data.barcode+"</h3>");
|
9
|
-
|
9
|
+
<%-if (not_before rescue true)%>
|
10
|
+
html.append(buildDTPicker("not-before", '<%=t "thecore_dataentry_with_date_start_and_end.not_before" %>', data.not_before, <%= not_before_ro rescue false %>));
|
10
11
|
html.append("<br/>");
|
11
|
-
|
12
|
+
<%-end%>
|
13
|
+
<%-if (not_after rescue true)%>
|
14
|
+
html.append(buildDTPicker("not-after", '<%=t "thecore_dataentry_with_date_start_and_end.not_after" %>', data.not_after, <%= not_after_ro rescue false %>));
|
12
15
|
html.append("<br/>");
|
16
|
+
<%-end%>
|
13
17
|
html.append("<strong><%=t "thecore_dataentry_with_date_start_and_end.description"%></strong>");
|
14
18
|
return html;
|
15
19
|
}
|
@@ -3,9 +3,9 @@ module ThecoreDataentryWithDateStartAndEnd
|
|
3
3
|
# This code makes the static assets present in this
|
4
4
|
# engine available to main app, even if this gem is
|
5
5
|
# just a dependency of another engine
|
6
|
-
initializer 'thecore_dataentry_with_date_start_and_end.load_static_assets' do |app|
|
7
|
-
|
8
|
-
|
9
|
-
end
|
6
|
+
# initializer 'thecore_dataentry_with_date_start_and_end.load_static_assets' do |app|
|
7
|
+
# puts "Loading static assets for #{root}"
|
8
|
+
# app.middleware.use ::ActionDispatch::Static, "#{root}/app"
|
9
|
+
# end
|
10
10
|
end
|
11
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_dataentry_with_date_start_and_end
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_dataentry_commons
|