worker-field-nested_has_many 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -7
- data/app/assets/stylesheets/administrate-field-nested_has_many/base.scss +9 -1
- data/app/views/fields/nested_has_many/_fields.html.erb +14 -9
- data/config/locales/administrate-field-nested_has_many.en.yml +2 -2
- data/worker-field-nested_has_many.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15098b415d70ab23fe17257daf1fcf7dd9539c356899fcee522e960d435c3a8c
|
|
4
|
+
data.tar.gz: 56fdb9468b552e1b788ecd85c2aa4279b3669a53ca13e433cdc53605058c5d1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ee721323c1d225438cb2edd29569534ba3090ddec05f8b05d7b6cab54271fdff00da40369791124f3f3d8567b925ddfaa7f5558ee19d9a4806db35b6ddfddf3
|
|
7
|
+
data.tar.gz: 9064fa5fadee7cc04ad14cb888248e9d66f55a77f2532c3338ba1333b50c3c99da76b3ca2fcd0e0167424c89ca075ae61388fe48f859708830cd3803f55b6fb8
|
data/README.md
CHANGED
|
@@ -9,13 +9,13 @@ The original and the 99,99997 % is not my
|
|
|
9
9
|
|
|
10
10
|
This awesome Gem is from :
|
|
11
11
|
|
|
12
|
-

|
|
13
|
-

|
|
14
|
-

|
|
15
|
-

|
|
16
|
-

|
|
17
|
-

|
|
18
12
|
|
|
13
|
+
[nickcharlton][nickcharlton].
|
|
14
|
+
[baldursson][baldursson].
|
|
15
|
+
[pablobm][pablobm].
|
|
16
|
+
[graysonwright][graysonwright].
|
|
17
|
+
[okuramasafumi][okuramasafumi].
|
|
18
|
+
[badosu][badosu].
|
|
19
19
|
|
|
20
20
|
🙏🏼 🙏🏼 🙏🏼 🙏🏼 🙏🏼 🙏🏼 🙏🏼
|
|
21
21
|
|
|
@@ -88,4 +88,11 @@ https://github.com/nickcharlton/administrate-field-nested_has_many
|
|
|
88
88
|
```ruby
|
|
89
89
|
gem "administrate-field-nested_has_many"
|
|
90
90
|
```
|
|
91
|
-
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
[badosu]: https://github.com/badosu
|
|
94
|
+
[okuramasafumi]: https://github.com/okuramasafumi
|
|
95
|
+
[pablobm]: https://github.com/pablobm
|
|
96
|
+
[baldursson]: https://github.com/baldursson
|
|
97
|
+
[nickcharlton]: https://github.com/nickcharlton
|
|
98
|
+
[graysonwright]: https://github.com/graysonwright
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
width: 43%;
|
|
36
36
|
border: 1px solid #a8a8a83d;
|
|
37
37
|
margin: 1rem;
|
|
38
|
-
padding: 1rem;
|
|
38
|
+
padding: 1rem 1rem 4rem 1rem;
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
justify-content: space-between;
|
|
@@ -45,9 +45,17 @@
|
|
|
45
45
|
width: calc(15% - 1rem);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
+
&.line_items{
|
|
49
|
+
position: relative;
|
|
50
|
+
min-height: 580px;
|
|
51
|
+
}
|
|
48
52
|
}
|
|
49
53
|
|
|
50
54
|
.remove_fields, .add_fields {
|
|
51
55
|
float: right;
|
|
52
56
|
}
|
|
53
57
|
}
|
|
58
|
+
|
|
59
|
+
.executer-button{
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
@@ -35,16 +35,21 @@
|
|
|
35
35
|
<div class="specialite">réseau</div>
|
|
36
36
|
<%# end %>
|
|
37
37
|
</div> -->
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
<div class="lineItem_button_action">
|
|
39
|
+
<div class="sophieTolouba_<%= field.attribute.to_s %>">
|
|
40
|
+
<% if field.attribute.to_s == "line_items"%>
|
|
41
|
+
<div class="button remove-field__option_buton executer-button" >
|
|
42
|
+
<span>Ajouter des options</span>
|
|
43
|
+
<!-- <div class="specialite">Ajouter des options</div> -->
|
|
44
|
+
</div>
|
|
45
|
+
<% end %>
|
|
46
|
+
<!-- <a href='#' id='executer-button' class='btn btn-default'>Executer</a> -->
|
|
47
|
+
<div class="button remove-field">
|
|
48
|
+
<%= link_to_remove_association I18n.t("administrate.fields.nested_has_many.remove", resource: field.associated_class_name.titleize), f %>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
47
51
|
|
|
52
|
+
</div>
|
|
48
53
|
</div>
|
|
49
54
|
</div>
|
|
50
55
|
<% else %>
|
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = "worker-field-nested_has_many"
|
|
5
5
|
# gem.version = Worker::Field::NestedHasMany::VERSION
|
|
6
|
-
gem.version = "0.
|
|
6
|
+
gem.version = "0.4.0"
|
|
7
7
|
gem.authors = ["v baxter"]
|
|
8
8
|
gem.email = ["vincent.viricel@gmail.com"]
|
|
9
9
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: worker-field-nested_has_many
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- v baxter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: administrate
|