1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-22 16:17:29 +00:00

Alter follower count text/number order

This commit is contained in:
Cadence Ember 2021-01-19 02:36:50 +13:00
parent aa5d6966a3
commit 20b4e448eb
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
2 changed files with 4 additions and 4 deletions

View File

@ -43,8 +43,8 @@ const {pug} = require("./utils/functions")
data.verified_badge_title = "Verified" data.verified_badge_title = "Verified"
data.verified_badge_alt = "Verified." data.verified_badge_alt = "Verified."
data.post_counter_label = "posts" data.post_counter_label = "posts"
data.outgoing_follows_counter_label = "following" data.outgoing_follows_counter_label = "Following"
data.incoming_follows_counter_label = "followed by" data.incoming_follows_counter_label = "Followed by"
data.quota_left = "Quota left:" data.quota_left = "Quota left:"
data.t_home = "Home" data.t_home = "Home"
data.tab_timeline = "Timeline" data.tab_timeline = "Timeline"

View File

@ -78,12 +78,12 @@ html
if followerCountsAvailable if followerCountsAvailable
if user.following != undefined if user.following != undefined
div.profile-counter div.profile-counter
| #[span(data-numberformat=user.following).count #{numberFormat(user.following)} ]
= ll.outgoing_follows_counter_label = ll.outgoing_follows_counter_label
span(data-numberformat=user.following).count #{numberFormat(user.following)}
if user.followedBy != undefined if user.followedBy != undefined
div.profile-counter div.profile-counter
| #[span(data-numberformat=user.followedBy).count #{numberFormat(user.followedBy)} ]
= ll.incoming_follows_counter_label = ll.incoming_follows_counter_label
span(data-numberformat=user.followedBy).count #{numberFormat(user.followedBy)}
else else
div.profile-counter.not-available Followers not available. div.profile-counter.not-available Followers not available.
.links .links