From 77ab37ccac0dc67829a4281730a5d95b9a07e512 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 16 Dec 2024 14:37:56 +0000 Subject: search-on-undelete for more comments --- src/mixins/comment.pug | 2 +- src/views/comments.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mixins/comment.pug b/src/mixins/comment.pug index 26b5918..f46f293 100644 --- a/src/mixins/comment.pug +++ b/src/mixins/comment.pug @@ -14,7 +14,7 @@ mixin infoContainer(data, next_id, prev_id) span(class=`${data.is_submitter ? 'op' : ''}`) | u/#{data.author} #{data.is_submitter ? '(op)' : ''} |  ·  - if data.collapsed_reason_code == "DELETED" + if data.collapsed_reason_code == "DELETED" || data.author == "[deleted]" a(href=`https://undelete.pullpush.io${data.permalink}`) search on undelete |  ·  | #{timeDifference(Date.now(), data.created * 1000)} diff --git a/src/views/comments.pug b/src/views/comments.pug index 8fde1ce..b006d03 100644 --- a/src/views/comments.pug +++ b/src/views/comments.pug @@ -22,7 +22,7 @@ html +header(user) div.hero h3.sub-title - a(href=`/r/${post.subreddit}`) ← r/#{post.subreddit} + a(href=`/r/${post.subreddit}`) r/#{post.subreddit} div.info-container - var domain = (new URL(post.url)).hostname -- cgit v1.2.3