lato 0.1.36 → 0.1.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/lato/components/_index.html.erb +5 -4
- data/config/locales/en.yml +1 -1
- data/config/locales/it.yml +1 -1
- data/lib/lato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0463c61f14b12b4a5d40dec5484589d2d24b478aa884718b079a1f3707b1f34c
|
4
|
+
data.tar.gz: 6217a89caf09b1a915d29817ce90b5d9b0801130ed4c9543ec7702b62e51dff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 023ff6442934328a8e335a117ed093dd39a5384d416542fd050ce7d9b1ecce51f5db715610756fde0220d8a1f8ce209226b120ca824e95364a088b504577fe7c
|
7
|
+
data.tar.gz: eb553fca9c7923f2758ef8bfeed72e7e3123da9ccea9eea52edfa20dbd3cceb0688a239d736fc94393207df7de9de80252adb21a4f7479e7955174285d7d0981
|
@@ -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-
|
43
|
-
<table class="table
|
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"><%=
|
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"><%=
|
135
|
+
<span class="text-muted"><%= collection_total %> <%= I18n.t('lato.total_results').downcase %></span>
|
135
136
|
</div>
|
136
137
|
</td>
|
137
138
|
</tr>
|
data/config/locales/en.yml
CHANGED
data/config/locales/it.yml
CHANGED
@@ -22,7 +22,7 @@ it:
|
|
22
22
|
update_password: Aggiornamento password
|
23
23
|
confirm: Conferma
|
24
24
|
search_for: Ricerca per
|
25
|
-
|
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
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.
|
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-
|
11
|
+
date: 2023-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|