promethee 4.0.2 → 4.0.3

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: c7f87b3e223ebc206812c7e5298881957ae629ef5a0b2d3b5d380e4b032bf8c7
4
- data.tar.gz: 8511358681318c667898b65ce950478ec8f935be7f245b3e331d60d368ba6be3
3
+ metadata.gz: f8889f4977fa871c953fa2f36952ad6a0bd073f35e08d37eb4c314e41b0f715e
4
+ data.tar.gz: bf77ba84d946259418459235e01ec00a1d3318071672f23413f637fb22365f4d
5
5
  SHA512:
6
- metadata.gz: 1519f091f3f384504535653202622f52e48d52412ed790f237db98803c0243ca65b1a3c9ead7327d923a07f13ae4800e0974f36e719e78a64d5e0f48f254bce1
7
- data.tar.gz: d7cabb1064a729337dbac770049190f053767972ea625614343343c6472f963899024941f7bea98e224ebaf6a8550c7f8db52942f506da607fa700744f8686f3
6
+ metadata.gz: '0877e4deb83a3986420fa278d92b73b0b81300ce9dca133523a3eae2122ff62efa33e49ffdffde2b3b8e621bbee7d2b298244652271f59268800ef844f729cc5'
7
+ data.tar.gz: e7d4beebe3bb92ff4909cd86d0b13a1655761b7f443bff4f3b88032d89cfc7c12d4dafe0cdd4a5dc43c18f80d982cc318827c331b865cfa5ab7717ce8b35a8b7
@@ -13,24 +13,26 @@
13
13
  %>
14
14
 
15
15
  <div id="component-<%= component[:id] %>" class="<%= promethee_class_for(component) %>">
16
- <div class="table-responsive">
17
- <table class="table">
18
- <thead>
19
- <tr>
20
- <% headerRow.each do |cell| %>
21
- <th><%= cell[:text] %></th>
22
- <% end %>
23
- </tr>
24
- </thead>
25
- <tbody>
26
- <% rows.each do |row| %>
16
+ <% unless headerRow.nil? %>
17
+ <div class="table-responsive">
18
+ <table class="table">
19
+ <thead>
27
20
  <tr>
28
- <% row.each do |cell| %>
29
- <td><%= cell[:text] %></td>
21
+ <% headerRow.each do |cell| %>
22
+ <th><%= cell[:text] %></th>
30
23
  <% end %>
31
24
  </tr>
32
- <% end %>
33
- </tbody>
34
- </table>
35
- </div>
25
+ </thead>
26
+ <tbody>
27
+ <% rows.each do |row| %>
28
+ <tr>
29
+ <% row.each do |cell| %>
30
+ <td><%= cell[:text] %></td>
31
+ <% end %>
32
+ </tr>
33
+ <% end %>
34
+ </tbody>
35
+ </table>
36
+ </div>
37
+ <% end %>
36
38
  </div>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '4.0.2'
3
+ VERSION = '4.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2019-11-22 00:00:00.000000000 Z
17
+ date: 2019-11-28 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails