aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-14 18:12:48 +0000
committerr <r@freesoftwareextremist.com>2019-12-14 18:12:48 +0000
commitea66bd539dec12ef2846c23e505593f9f9d9fac3 (patch)
tree17d40c5aaf44e87ea65e444e15e87e771ca947c0 /templates
parent787a197ad8cbce572152ee41b2a411b8d145285a (diff)
downloadbloat-ea66bd539dec12ef2846c23e505593f9f9d9fac3.tar.gz
bloat-ea66bd539dec12ef2846c23e505593f9f9d9fac3.zip
Focus relevant status on like, retweet and reply
Diffstat (limited to 'templates')
-rw-r--r--templates/status.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl
index 3953f23..24f9a54 100644
--- a/templates/status.tmpl
+++ b/templates/status.tmpl
@@ -1,4 +1,4 @@
-<div id="status-{{.ID}}" class="status-container-container">
+<div id="status-{{if .Reblog}}{{.Reblog.ID}}{{else}}{{.ID}}{{end}}" class="status-container-container">
{{if .Reblog}}
<div class="retweet-info">
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
@@ -67,7 +67,7 @@
<span> {{DisplayInteractionCount .FavouritesCount}} </span>
</a>
{{end}}
- <a class="status-time" href="/thread/{{.ID}}">
+ <a class="status-time" href="/thread/{{.ID}}#status-{{.ID}}">
<time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{.CreatedAt}}"> {{TimeSince .CreatedAt}} </time>
</a>
</div>