]> git.ipfire.org Git - thirdparty/patchwork.git/commit
views: Don't show chevron if user can't change sort order
authorStephen Finucane <stephen@that.guru>
Fri, 1 Nov 2024 13:48:28 +0000 (13:48 +0000)
committerStephen Finucane <stephen@that.guru>
Fri, 1 Nov 2024 15:47:20 +0000 (15:47 +0000)
commit62032649f05610f7570b68f6ac6c30baa59fab8b
treed98482fab13ab10cc13aea852c266c450009bb0e
parent45f47e96c6c90aefac37b02e0e15052f6ba41a90
views: Don't show chevron if user can't change sort order

We prevent users changing the column that sorting is done on when
allowing users to change the order of patches in a bundle. However, we
still show a chevron and clicking the link will appear to do something.
This is confusing/misleading. Remove the chevron and the link in this
situation.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/templates/patchwork/partials/patch-list.html