azahara_schema 0.1.17 → 0.1.18

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: a14e9a8c3362597472cda8ccc365c47e818fb89f905c8ab6aa682763c329536d
4
- data.tar.gz: 7b42eaacf12b867c599eaecd3a5d8f5bf6203dbeab5b178b029392a2b4164c98
3
+ metadata.gz: 9beeb63dd4ca7883c3e155a37077053266d469b4a5734b0976541bf0d8f9749d
4
+ data.tar.gz: d573a0f87cf9e899bb3336fa6979797c3908e6f2f3c4190d3b123b66905d153e
5
5
  SHA512:
6
- metadata.gz: b25f86081f3b3985bd4840695d8f41bcc4c673228db1a394df1aa095f106fe82884e33873723a481ae02d6b4881fdac6459e5451981f3d09aad246b65b1aae82
7
- data.tar.gz: 22da5b868389f86c35e7af515673494416c4a3ac8ecbf25d47a361f7dac30a5b349bdc00a77628dfe760e7cd09b91c5a269b296bb46f34358d72dd8a5bd97178
6
+ metadata.gz: 876a1ecb9b8363d7594f9570f93a14c0e8d1189e525ab0ebd7d3787322bf2d355f5fc6792feb45eb4c4c020a22e42dcb8756903c8371ed57c6a30cf34e722292
7
+ data.tar.gz: 9677fd3534f972437328517a1aafe22c56847d2f4d7b7e57e28a904a7a3a272b9bf3bb5f3b16c14b69ab537361100917771b87e0c52b62d56ca415fb786a0290
@@ -30,5 +30,9 @@ module AzaharaSchema
30
30
  AttributeFormatter.formatter_for(schema_or_model).new(schema_or_model, self, options)
31
31
  end
32
32
 
33
+ def unfilled_attribute_message
34
+ content_tag(:span, t('label_unfilled'), class: 'unfilled-message')
35
+ end
36
+
33
37
  end
34
38
  end
@@ -1,5 +1,5 @@
1
1
  <% if local_assigns.fetch(:filters, true) %>
2
- <%= render 'azahara_schema/filters', schema: schema %>
2
+ <%= render 'azahara_schema/index_form', schema: schema %>
3
3
  <% end %>
4
4
  <% schema.outputs.each do |output| %>
5
5
  <%= render output %>
@@ -3,3 +3,4 @@ cs:
3
3
  label_filters: Filtry
4
4
  label_advance_filters: Rozšířené
5
5
  label_use_setting: Zobrazit
6
+ unfilled_attribute_message: Nevyplněno
@@ -1,3 +1,3 @@
1
1
  module AzaharaSchema
2
- VERSION = '0.1.17'
2
+ VERSION = '0.1.18'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azahara_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-18 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails