Skip to content

Commit cf0797e

Browse files
committed
fix: linting and wording
1 parent 041ad6f commit cf0797e

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

app/models/statistics/users.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ def pctrecent(value)
55
"%.0f%%" % (100.0 * value / nb_recently_seen_accounts)
66
end
77

8-
def pctrecent_filled(value,field)
9-
# take into account those having declared an xmpp or mastodon account
8+
def pctrecent_filled(value, field)
109
"%.0f%%" % (100.0 * value / filled(field))
1110
end
1211

app/views/statistics/users.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
%th Domaines à plus de trois comptes
250250
%th Nombre de comptes
251251
%th Actifs
252-
%th % déclarés
252+
%th Déclarés
253253
- @stats.top_xmpp_domains.each do |domain|
254254
%tr
255255
%td.stat
@@ -270,7 +270,7 @@
270270
%th Domaines à plus de trois comptes
271271
%th Nombre de comptes
272272
%th Actifs
273-
%th % déclarés
273+
%th Déclarés
274274
- @stats.top_mastodon_domains.each do |domain|
275275
%tr
276276
%td.stat

0 commit comments

Comments
 (0)