recourse 7.11.0 → 7.11.2
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/CHANGELOG.md +21 -0
- data/app/views/recourses/_sidebar.html.erb +2 -2
- data/config/locales/recourse.en.yml +0 -2
- data/lib/recourse/helpers/tabs.rb +1 -1
- data/lib/recourse/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96bb337b5a0517cc5f7715b898c0cffd01c33fc6b8e7a6750f939b7361879fd4
|
|
4
|
+
data.tar.gz: e77f1f0f2f4a42955669e988302bff0df520aa98a8cb7ce0d171cda7e7bd85ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d203812049cdcd045323970939f23c4aeb825e5cd904b949e511b8700bd24781ae5cb36ef83c41b7e90547665a5c255c00c4158425a3c7a1c04b86d9182a223
|
|
7
|
+
data.tar.gz: 17c113285f5c356e86fad57838069d9c42b8c272d19950649be5f992a674de2bf1b1e6a60e75be220ec77ea48e15462459127cb94b7ba6ffffe5a2c9372576da
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,27 @@ For more information about changelogs, check [Keep a Changelog](http://keepachan
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## 7.11.2 - 2026-09-26
|
|
11
|
+
|
|
12
|
+
* [FIX] The count in a tab is delimited
|
|
13
|
+
|
|
14
|
+
`3,506 aircrafts`, not `3506 aircrafts`: the same figure the table's own count and the
|
|
15
|
+
footer already draw with delimiters.
|
|
16
|
+
|
|
17
|
+
## 7.11.1 - 2026-09-26
|
|
18
|
+
|
|
19
|
+
* [FIX] A tooltip in the sidebar's foot closes when its icon is clicked
|
|
20
|
+
|
|
21
|
+
Needs bh 6.10.1, which closes an icon's tooltip on a click on it or on its button. The moon
|
|
22
|
+
and the sun swap places on a click, and the tooltip of the one that went was left open and
|
|
23
|
+
put in the page's corner.
|
|
24
|
+
|
|
25
|
+
* [FIX] The moon and the sun say `Dark` and `Light`
|
|
26
|
+
|
|
27
|
+
The words the phone shows beside them, and no longer `Dark theme` and `Light theme`. The
|
|
28
|
+
`recourse.dark_theme` and `recourse.light_theme` words 7.10.0 added are gone: a host that
|
|
29
|
+
translated them translates `recourse.darken` and `recourse.lighten`, which are the same words.
|
|
30
|
+
|
|
10
31
|
## 7.11.0 - 2026-09-26
|
|
11
32
|
|
|
12
33
|
* [FEATURE] A host can say which pages are the same for everybody, and they are sent to be kept
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
<%= tag.button type: 'button', class: 'nav-link border-0 bg-transparent',
|
|
42
42
|
data: scheme_data do %>
|
|
43
43
|
<span class='recourse-scheme-light'>
|
|
44
|
-
<%= tag.i class: 'bi bi-moon-fill', data: tooltip_data(t('recourse.
|
|
44
|
+
<%= tag.i class: 'bi bi-moon-fill', data: tooltip_data(t('recourse.darken'), placement: 'right') %>
|
|
45
45
|
<span class='recourse-foot-word'><%= t 'recourse.darken' %></span>
|
|
46
46
|
</span>
|
|
47
47
|
<span class='recourse-scheme-dark'>
|
|
48
|
-
<%= tag.i class: 'bi bi-sun-fill', data: tooltip_data(t('recourse.
|
|
48
|
+
<%= tag.i class: 'bi bi-sun-fill', data: tooltip_data(t('recourse.lighten'), placement: 'right') %>
|
|
49
49
|
<span class='recourse-foot-word'><%= t 'recourse.lighten' %></span>
|
|
50
50
|
</span>
|
|
51
51
|
<% end %>
|
|
@@ -47,7 +47,6 @@ en:
|
|
|
47
47
|
create: Create
|
|
48
48
|
created: "%{record} was created."
|
|
49
49
|
created_error: "%{model} could not be created."
|
|
50
|
-
dark_theme: Dark theme
|
|
51
50
|
darken: Dark
|
|
52
51
|
delete: Delete %{model}
|
|
53
52
|
deleted: "%{model} was deleted."
|
|
@@ -70,7 +69,6 @@ en:
|
|
|
70
69
|
items:
|
|
71
70
|
one: 1 item
|
|
72
71
|
other: "%{count} items"
|
|
73
|
-
light_theme: Light theme
|
|
74
72
|
lighten: Light
|
|
75
73
|
missing_model: You declared `recourses :%{name}` in your routes file, but this app
|
|
76
74
|
has no %{model} model.
|
|
@@ -50,7 +50,7 @@ module Recourse
|
|
|
50
50
|
# its children out with a gap, and two of them would stand a gap and a space apart.
|
|
51
51
|
def tab_label_for(icon, words, count = nil)
|
|
52
52
|
words = tag.span words, class: 'recourse-tab-word' if icon || count
|
|
53
|
-
words = tag.span safe_join([count, words], ' ') if count
|
|
53
|
+
words = tag.span safe_join([number_with_delimiter(count), words], ' ') if count
|
|
54
54
|
|
|
55
55
|
safe_join [icon && tag.i(class: "bi bi-#{icon}"), words].compact, ' '
|
|
56
56
|
end
|
data/lib/recourse/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: recourse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.11.
|
|
4
|
+
version: 7.11.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- claudiob
|
|
@@ -43,14 +43,14 @@ dependencies:
|
|
|
43
43
|
requirements:
|
|
44
44
|
- - ">="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version:
|
|
46
|
+
version: 6.10.1
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version:
|
|
53
|
+
version: 6.10.1
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: pagy
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|