~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] Remove ordering on non bookmark listing pages

Details
Message ID
<20250509130603.31683-1-peter@netlandish.com>
Sender timestamp
1746774361
DKIM signature
missing
Download raw message
Patch: +2 -0
Changelog-fixed: No longer showing empty ordering options on pages that
  don't support it.
---
 templates/link_list.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/link_list.html b/templates/link_list.html
index e9c053c..10166ed 100644
--- a/templates/link_list.html
+++ b/templates/link_list.html
@@ -227,6 +227,7 @@
  {{end}}
      </div> {{- /* col-9 */ -}}
      <div class="col-3"> {{- /* right side bar */ -}}
          {{ if .orderDir }}
          <div class="row">
	    <div class="col-2">
	      <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="menu-item__icon"><path stroke-linecap="round" stroke-linejoin="round" d="M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5" /></svg>
@@ -239,6 +240,7 @@
	    {{ end }}
	    </div>
	  </div>
	  {{ end }}
          <p>{{ .pd.Data.tags }}</p>
	  <hr>
	  <p>
-- 
2.47.2
Details
Message ID
<D9RNLEYQYAPC.1K46G7J0NKUHO@netlandish.com>
In-Reply-To
<20250509130603.31683-1-peter@netlandish.com> (view parent)
Sender timestamp
1746774658
DKIM signature
missing
Download raw message
Applied.

To git@git.code.netlandish.com:~netlandish/links
   c1a4b74..8ca5b42  master -> master
Reply to thread Export thread (mbox)