aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorAkshay <[email protected]>2025-01-24 13:04:45 +0000
committerAkshay <[email protected]>2025-01-24 13:07:00 +0000
commit8fd28aef3160f00032647515ab9ca9b7fab1bc41 (patch)
treea5d9292768bb1f87c0160e68fbdae9c39d4cda14 /src/views
parent342b9f1c4241a862f05caeacfdf5f2157b4b1620 (diff)
add info to subs on visit, do not persist sort
Diffstat (limited to 'src/views')
-rw-r--r--src/views/comments.pug2
-rw-r--r--src/views/index.pug6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/views/comments.pug b/src/views/comments.pug
index 1265609..b96953d 100644
--- a/src/views/comments.pug
+++ b/src/views/comments.pug
@@ -64,7 +64,7 @@ html
64 video(controls data-dashjs-player src=`${url}`).post-media 64 video(controls data-dashjs-player src=`${url}`).post-media
65 else if isPostLink(post) 65 else if isPostLink(post)
66 a(href=post.url) 66 a(href=post.url)
67 | #{post.domain} 67 | #{post.url}
68 68
69 if post.selftext_html 69 if post.selftext_html
70 div.self-text 70 div.self-text
diff --git a/src/views/index.pug b/src/views/index.pug
index a35837b..52b8753 100644
--- a/src/views/index.pug
+++ b/src/views/index.pug
@@ -33,6 +33,12 @@ html
33 | consider donating to&nbsp; 33 | consider donating to&nbsp;
34 a(href="https://donate.stripe.com/dR62bTaZH1295Da4gg") oppiliappan 34 a(href="https://donate.stripe.com/dR62bTaZH1295Da4gg") oppiliappan
35 |, author of lurker 35 |, author of lurker
36 if about && !isMulti
37 div.info-container
38 p
39 | #{fmtnum(about.accounts_active)} active
40 | &nbsp;·&nbsp;
41 | #{fmtnum(about.subscribers)} subscribers
36 hr 42 hr
37 details.sort-details 43 details.sort-details
38 summary.sorting sorting by #{query.sort + (query.t?' '+query.t:'')} 44 summary.sorting sorting by #{query.sort + (query.t?' '+query.t:'')}