tybo 0.0.37 → 0.0.39

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: cb27c0217c847522c9b2f2838da8ce68de06c2e06d93521a9f8840acac27c906
4
- data.tar.gz: b0b6846623771f80677ffd93dc3ac22e5d7ec373a13e1f268cb9911ae82698f1
3
+ metadata.gz: d26ae2b2463d0b28e75f5f46bd3a0caf244375b64b5538a4979da1b3d9637ba8
4
+ data.tar.gz: 6fb17e7c453c2120c95a4e9a745ef111bbae6f6a64da6fe7ffbe0eb921bd84a7
5
5
  SHA512:
6
- metadata.gz: 540695bbd7ec31b2c6828e3f24673ec77358efd64d8a141dda3ea8879cf0aeb576e51acf1ef316ddde973a2c43f59c9e442682edbadd62acd5bb4b0f858c6132
7
- data.tar.gz: 5e82e5399d5407e5519c59025b9ca5421f3413a8a499aa0552bf7884182d2076a04f6e907a1951e88dc3f7507a7b780e55dd0ca396c54ad986962ac29ec25361
6
+ metadata.gz: 3dfce6fdf4c9e18cae0d0cfb6990b11689ab68382a9fcd31c74896c140ff9616357372c1694e0925f2c3210de17caf0844885419043351baaff7c4a2d318678e
7
+ data.tar.gz: b2fadb843137990b5b50385a8a235318b232b56c9594870172711ff760ee7c5669c7f0dd4f84eca8b2848fc8bff0d9cbac910d0f313502f385d7f76972f6d5a3
@@ -1,3 +1,3 @@
1
1
  <td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900">
2
- <%= strip_tags(content) == content ? content&.truncate(30) : content %>
2
+ <%= strip_tags(content) == content ? content&.truncate(30) : content %>
3
3
  </td>
@@ -10,7 +10,6 @@
10
10
  <%== link.call(pagy.next, pagy_t('pagy.nav.prev'), 'aria-label="next" class="hidden"') %>
11
11
  </div>
12
12
  <% end -%>
13
- <% if pagy.next -%>
14
13
  <% pagy.series.each do |item| # series example: [1, :gap, 7, 8, "9", 10, 11, :gap, 36] -%>
15
14
  <% if item.is_a?(Integer) -%>
16
15
  <%== link.call(item, item, 'class="inline-flex h-10 items-center rounded-md border border-gray-300 bg-white px-4 hover:bg-gray-100 focus:border-tybo-600 focus:outline-none focus:ring-2 focus:ring-tybo-600 focus:ring-opacity-25 focus:ring-offset-1 focus:ring-offset-tybo-600"') %>
@@ -22,7 +21,6 @@
22
21
  </span>
23
22
  <% end -%>
24
23
  <% end -%>
25
- <% end -%>
26
24
 
27
25
  <% if pagy.next -%>
28
26
  <div class="flex min-w-0 flex-1 justify-end">
@@ -25,7 +25,7 @@ def create_translations
25
25
  data[local]['bo'][file_name.underscore] = {
26
26
  'one' => find_existing_translation(bo_model.to_s.downcase, local),
27
27
  'others' => find_existing_translation(bo_model.to_s.pluralize.downcase, local),
28
- 'new' => find_existing_translation(bo_model.to_s.pluralize.downcase, local),
28
+ 'new' => find_existing_translation(nil, local),
29
29
  'subtitle' => find_existing_translation("list of #{bo_model.to_s.pluralize.downcase}", local),
30
30
  'attributes' => model_attributes(data, local)
31
31
 
data/lib/tybo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tybo
2
- VERSION = '0.0.37'
2
+ VERSION = '0.0.39'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tybo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.37
4
+ version: 0.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Delpierre
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-03-30 00:00:00.000000000 Z
12
+ date: 2023-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails