lato 0.1.23 → 0.1.25
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 +4 -4
- data/app/views/lato/components/_index.html.erb +2 -2
- data/config/locales/en.yml +2 -0
- data/config/locales/it.yml +2 -0
- data/lib/lato/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa9beb746a47be8370c1807d010863aaea3eafd046fa3c84f73918b28d57a149
|
4
|
+
data.tar.gz: 31ba29f6fb38c5969426f1f9bf5a1cee242ef44dc30719371949dd9717e79937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aea5bef9a1226bba06120a7548645d7e32097e8f718515e80a6a8f85266aea5d34f901dc2aa5d2f6b865e567766577272890f0d53c263157afdf16fc38feeb97
|
7
|
+
data.tar.gz: 32fe506382b9e0edf74d3e6a32835b1b21604853249afdd34980c58738e07eeb8a07998a902879e1bf9cbd165dac481f6702184b8e817273a48b8542891df2cc
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<div class="d-flex justify-content-between mb-3">
|
15
15
|
<% if searchable_columns.any? %>
|
16
16
|
<div class="input-group">
|
17
|
-
<input type="text" name="search" class="form-control" placeholder="
|
17
|
+
<input type="text" name="search" class="form-control" placeholder="<%= I18n.t('labels.search_for') %>: <%= searchable_columns.map { |c| collection.model.human_attribute_name(c) }.to_sentence %>" value="<%= params[:search] %>">
|
18
18
|
<button class="btn btn-outline-primary" type="submit"><i class="bi bi-search"></i></button>
|
19
19
|
</div>
|
20
20
|
<% else %>
|
@@ -80,7 +80,7 @@
|
|
80
80
|
<% else %>
|
81
81
|
<div></div>
|
82
82
|
<% end %>
|
83
|
-
<span class="text-muted"><%= collection.count %>
|
83
|
+
<span class="text-muted"><%= collection.count %> <%= I18n.t('labels.viewed_results').downcase %>
|
84
84
|
</div>
|
85
85
|
</td>
|
86
86
|
</tr>
|
data/config/locales/en.yml
CHANGED
data/config/locales/it.yml
CHANGED
data/lib/lato/version.rb
CHANGED