viniBaxter-field-active_storage 9.0.0 → 10.0.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 452afc0ba0c4b88b5b123ff9e50b9308b7085d1e2b6c257009dd4023f42b9af4
|
4
|
+
data.tar.gz: 3c66ceeafb4c94b38542374c9dfd5d9c1ddb25e2460ff61cd02dbf08e8c57a0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d902ff278242b54a6cb5f4fd6d5d5d668a7aba2cbf1c4da99b2e0c3e28019110759e371bdc70d58d54e53b7eeee8e5307e75e22fe52984d605874e3f29cf047e
|
7
|
+
data.tar.gz: a0afc76f02abd9c955245293321ddbe17e15734d304edf915173f4b27b72dcb1353576c4806b79a2530166ba83c5f22fc9a3f14b118bca94cb6335d760aa62f5
|
@@ -8,11 +8,12 @@
|
|
8
8
|
data-dropzonegem-add-remove-links="hello">
|
9
9
|
<%= f.file_field field.attribute, multiple: field.many?, direct_upload: field.direct?, data: { target: 'dropzonegem.inputdropzonegem' } %>
|
10
10
|
<div class="dropzone-msg dz-message needsclick text-gray-600">
|
11
|
-
<h3 class="dropzone-msg-title">Drag & Drop
|
11
|
+
<h3 class="dropzone-msg-title">Drag & Drop ici ou cliquer pour selectionner</h3>
|
12
12
|
<span class="dropzone-msg-desc text-sm">
|
13
13
|
<%= field.drop_max_file_size? %>
|
14
14
|
MB par fichier. Les fichiers autorisés :
|
15
|
-
<%= field.drop_accepted_files? %>.
|
15
|
+
<%= field.drop_accepted_files? %>. <br>
|
16
|
+
Un maximum de
|
16
17
|
<%= field.drop_max_file? %> fichiers autorisés.
|
17
18
|
</span>
|
18
19
|
</div>
|
@@ -20,7 +20,7 @@ module Administrate
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def index_display_count?
|
23
|
-
options.fetch(:index_display_count) {
|
23
|
+
options.fetch(:index_display_count) { attached? && attachments.count != 1 }
|
24
24
|
end
|
25
25
|
|
26
26
|
def show_preview_size
|
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "viniBaxter-field-active_storage"
|
5
|
-
gem.version = "
|
5
|
+
gem.version = "10.0.0"
|
6
6
|
gem.authors = ["viny baxter"]
|
7
7
|
gem.email = ["vincent.viricel@gmail.com"]
|
8
8
|
gem.homepage = "https://github.com/Dreamersoul/administrate-field-active_storage"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viniBaxter-field-active_storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 10.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- viny baxter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: administrate
|