azahara_schema 0.4.3 → 0.4.4

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: 60243dac878c01b289535d0a95bde25b2979c64cdddc57c44d1fa581b81d2a3f
4
- data.tar.gz: 389b30f54e0ded68009d78556601af7e3848e3df1643a77005539cbb320119ce
3
+ metadata.gz: 3cad1d215a81fc9ee38b04fe40d66a5c8d6a8ba393f11cb1cc044fdfaa6e8c64
4
+ data.tar.gz: 970ce5ed71ef57d8cef07d8e7ae7de6c93a02bbc29e91e28c84f1e20869c6038
5
5
  SHA512:
6
- metadata.gz: 8a296a40c227073c133f9c90e98527b67a3d4d3f18e95f2669b8dc58f7c5ce8f8cc9cb359328be43c2972faa2832421eb562a877c0574eb3fd6e58265c596c8a
7
- data.tar.gz: 0ec3ec8b8463635c359b9dc0bf0f74fa0fb1121b44f20b6d5b655c5714e326a5a0e1760124f6938164732a16a0db2dc740299cc51075af5f8c252d023d746cc8
6
+ metadata.gz: 5b85f8c934c6d5697807e9a48b50244e39dc73e3f440dd13dd3449bcc5dada083ff3ee3bbe31148b621736695c25f9df314b3317f7a64d3ba1275fd5f4a965fd
7
+ data.tar.gz: 493524455ea502b20762c1f877d45c4729961dba7691a0d8e03e8cee33c2c6367a26a9c97d506bafd3b3b94c700b694f86142919f8bbd3cc1bcf0fb85f0c70be
@@ -18,14 +18,17 @@
18
18
  <% end %>
19
19
  </div>
20
20
  <% end %>
21
- <% schema.outputs.each do |output| %>
22
- <%= render output, local_assigns.merge(schema: schema) %>
23
- <% end %>
24
- <div class="exports text-right">
25
- <% if (xlsx_path = azahara_export_path(schema, :xlsx)) %>
26
- <%= link_to xlsx_path do %>
27
- <i class="fa fa-file-o"></i>
28
- <%= t('label_export_as', as: 'XLSX') %>
29
- <% end %>
21
+
22
+ <% if local_assigns.fetch(:show_outputs, true) %>
23
+ <% schema.outputs.each do |output| %>
24
+ <%= render output, local_assigns.merge(schema: schema) %>
30
25
  <% end %>
31
- </div>
26
+ <div class="exports text-right">
27
+ <% if (xlsx_path = azahara_export_path(schema, :xlsx)) %>
28
+ <%= link_to xlsx_path do %>
29
+ <i class="fa fa-file-o"></i>
30
+ <%= t('label_export_as', as: 'XLSX') %>
31
+ <% end %>
32
+ <% end %>
33
+ </div>
34
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module AzaharaSchema
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
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.4.3
4
+ version: 0.4.4
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: 2021-12-26 00:00:00.000000000 Z
11
+ date: 2022-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails