Focus relevant status on like, retweet and reply
[bloat] / templates / status.tmpl
index 3953f2391cba3cba825d7520b6d3408b584be250..24f9a540d23a3c1015f7ca40ca7fd54f308f505b 100644 (file)
@@ -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>