lato 0.1.35 → 0.1.37

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: a7bc26a6247cd1ea0aef77e6ee1c6a5800733e322a45939c8dd9cb86e9b796e4
4
- data.tar.gz: 9dde859008c95e04a05c891c6ec80ed7c52f3110af29207733014c81c16481ae
3
+ metadata.gz: 0463c61f14b12b4a5d40dec5484589d2d24b478aa884718b079a1f3707b1f34c
4
+ data.tar.gz: 6217a89caf09b1a915d29817ce90b5d9b0801130ed4c9543ec7702b62e51dff1
5
5
  SHA512:
6
- metadata.gz: c8357e4d168d5c239af75e590805a98b369673920d4ed888ec458a1299279bd821ad04489ae534ee49b83c57ea1fc9d19adffbb067a19d1bab6e2c4454ecc653
7
- data.tar.gz: 2d1e43738d5870ff4dbf96ab6ee7f38f1b74d63ef4c2886ab9e27b5c98c4ad2ebee518ec9a9830386a472319aaf52ce1c489cfec5d62a5392f6ac1f6a4d80c57
6
+ metadata.gz: 023ff6442934328a8e335a117ed093dd39a5384d416542fd050ce7d9b1ecce51f5db715610756fde0220d8a1f8ce209226b120ca824e95364a088b504577fe7c
7
+ data.tar.gz: eb553fca9c7923f2758ef8bfeed72e7e3123da9ccea9eea52edfa20dbd3cceb0688a239d736fc94393207df7de9de80252adb21a4f7479e7955174285d7d0981
@@ -43,6 +43,7 @@ main, aside {
43
43
  bottom: 0;
44
44
  left: 0;
45
45
  width: 100%;
46
+ min-height: 0;
46
47
  height: calc(100% - 54px);
47
48
  z-index: 99;
48
49
  transform: translateX(-100%);
@@ -1,6 +1,7 @@
1
1
  <%
2
2
 
3
3
  collection_test_istance = collection.model.new
4
+ collection_total = collection.respond_to?(:total_count) ? collection.total_count : collection.count
4
5
 
5
6
  %>
6
7
 
@@ -39,8 +40,8 @@ collection_test_istance = collection.model.new
39
40
 
40
41
  <ul class="list-group list-group-flush">
41
42
  <% collection.each do |member| %>
42
- <li class="list-group-item p-0 border-0">
43
- <table class="table table-bordered">
43
+ <li class="list-group-item p-2 border-0 bg-light mb-3 rounded">
44
+ <table class="table">
44
45
  <tbody>
45
46
  <% columns.each do |column| %>
46
47
  <tr>
@@ -67,7 +68,7 @@ collection_test_istance = collection.model.new
67
68
  </ul>
68
69
 
69
70
  <div class="d-flex flex-column align-items-center">
70
- <span class="text-muted"><%= collection.count %> <%= I18n.t('lato.viewed_results').downcase %>
71
+ <span class="text-muted"><%= collection_total %> <%= I18n.t('lato.total_results').downcase %></span>
71
72
  <% if collection.respond_to?(:total_pages) %>
72
73
  <div class="mt-3"><%= paginate collection %></div>
73
74
  <% end %>
@@ -131,7 +132,7 @@ collection_test_istance = collection.model.new
131
132
  <% else %>
132
133
  <div></div>
133
134
  <% end %>
134
- <span class="text-muted"><%= collection.count %> <%= I18n.t('lato.viewed_results').downcase %>
135
+ <span class="text-muted"><%= collection_total %> <%= I18n.t('lato.total_results').downcase %></span>
135
136
  </div>
136
137
  </td>
137
138
  </tr>
@@ -42,7 +42,9 @@
42
42
  <%= render 'layouts/lato/footer' %>
43
43
  </footer>
44
44
 
45
- <%= render 'layouts/lato/aside-opener' %>
45
+ <% if @layout_sidebar %>
46
+ <%= render 'layouts/lato/aside-opener' %>
47
+ <% end %>
46
48
  <%= render 'layouts/lato/feedbacks' %>
47
49
  <%= render 'layouts/lato/action' %>
48
50
 
@@ -20,7 +20,7 @@ en:
20
20
  update_password: Update password
21
21
  confirm: Confirm
22
22
  search_for: Search for
23
- viewed_results: Results viewed
23
+ total_results: Total results
24
24
  account_informations: Account informations
25
25
  verify_email: Verify email
26
26
  email_verified: Verified
@@ -22,7 +22,7 @@ it:
22
22
  update_password: Aggiornamento password
23
23
  confirm: Conferma
24
24
  search_for: Ricerca per
25
- viewed_results: Risultati visualizzati
25
+ total_results: Risultati totali
26
26
  account_informations: Informazioni account
27
27
  verify_email: Verifica email
28
28
  email_verified: Verificato
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.35"
2
+ VERSION = "0.1.37"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.35
4
+ version: 0.1.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-01 00:00:00.000000000 Z
11
+ date: 2023-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails