trestle-mobility 1.3.0 → 1.4.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4975d7d0e80af83f7b3cfa3b7ae2b44271a480a95633d22e94bde04ab05c63c
|
4
|
+
data.tar.gz: 4e3286506ad4402daa7ae713512a3dabc427b8a228f1509cc060830e5992750a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63d50b633c31eaa5ee891bbb8b82942fbadd2a5579bb14fc7abc6e838ce05843ee9021b9e33330d66880576119fa65cc06c7fc7902bf5e833f13bb9b84d6c4f7
|
7
|
+
data.tar.gz: 7629c8c73cb70615fb7188c060c3dded5d15249264e720c54e4fd4e9375751c231c821b35ba13d65b80c65f2a162fc1b0e1ed144f7f760eb045c38c058b67f2a
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.4.0] - 2020-12-08
|
10
|
+
- Ability to customise placeholder on the fields ([#5](https://github.com/richardvenneman/trestle-mobility/pull/5), thanks [@asad-ali-bhatti](https://github.com/asad-ali-bhatti))
|
11
|
+
|
9
12
|
## [1.3.0] - 2019-11-08
|
10
13
|
### Added
|
11
14
|
- Support for Bootstrap 4 (that comes with Trestle 0.9.0)
|
@@ -16,7 +16,7 @@
|
|
16
16
|
"#{field_name}_#{locale}",
|
17
17
|
options.merge(
|
18
18
|
class: "form-control mobility-field#{locale == selected ? '' : ' mobility-field--hidden'}",
|
19
|
-
placeholder: "#{label} (#{locale.upcase})",
|
19
|
+
placeholder: options[:placeholder] || "#{label} (#{locale.upcase})",
|
20
20
|
data: { locale: locale }
|
21
21
|
)
|
22
22
|
)
|
@@ -16,7 +16,7 @@
|
|
16
16
|
"#{field_name}_#{locale}",
|
17
17
|
options.merge(
|
18
18
|
class: "form-control mobility-field#{locale == selected ? '' : ' mobility-field--hidden'}",
|
19
|
-
placeholder: "#{label} (#{locale.upcase})",
|
19
|
+
placeholder: options[:placeholder] || "#{label} (#{locale.upcase})",
|
20
20
|
data: { locale: locale }
|
21
21
|
)
|
22
22
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle-mobility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Venneman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: emoji_flag
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
139
|
+
rubygems_version: 3.1.2
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: Mobility integration plugin for the Trestle admin framework
|