~netlandish/links-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH links] In link or note detail page, if the user viewing the page is the link/note owner, have tags link to their home feed versus the recent feed.

Details
Message ID
<20260114152154.4437-1-peter@netlandish.com>
Sender timestamp
1768382509
DKIM signature
missing
Download raw message
Patch: +4 -0
Implements: https://todo.code.netlandish.com/~netlandish/links/124
Changelog-updated: Detail views for note/link will use the home feed for
 tag linking when it's the note/link owner.
---
 templates/link_detail.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/templates/link_detail.html b/templates/link_detail.html
index 23bdf12..cae7a7c 100644
--- a/templates/link_detail.html
+++ b/templates/link_detail.html
@@ -36,8 +36,12 @@
  <p>{{.pd.Data.tags}}:</p>
  <div class="link-tag">
    {{range .link.Tags}}
    {{if eq $.link.UserID $.currentUserID}}
    <a class="link-tag__item" href="{{reverse "core:home_link_list"}}?tag={{.Slug}}">{{.Name}}</a>
    {{else}}
    <a class="link-tag__item" href="{{reverse "core:recent_link_list"}}?tag={{.Slug}}">{{.Name}}</a>
    {{end}}
    {{end}}
  </div>
  {{end}}
  {{if eq .link.UserID .currentUserID}}
-- 
2.52.0
Details
Message ID
<DFOF1IWBVLAQ.C1S26DQGE1H5@netlandish.com>
In-Reply-To
<20260114152154.4437-1-peter@netlandish.com> (view parent)
Sender timestamp
1768382801
DKIM signature
missing
Download raw message
Applied.

To git@git.code.netlandish.com:~netlandish/links
   5fabccb..d81584e  master -> master
Reply to thread Export thread (mbox)