gitea/modules/templates
Thomas E Lackey fa49cd719f
feat: Add sorting by exclusive labels (issue priority) (#33206)
Fix #2616

This PR adds a new sort option for exclusive labels.

For exclusive labels, a new property is exposed called "order", while in
the UI options are populated automatically in the `Sort` column (see
screenshot below) for each exclusive label scope.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-10 17:18:07 +00:00
..
eval Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
scopedtmpl Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
vars Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
base.go Replace util.SliceXxx with slices.Xxx (#26958) 2023-09-07 09:37:47 +00:00
dynamic.go Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
helper_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
helper.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
htmlrenderer_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
htmlrenderer.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
mailer.go Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
static.go Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
templates_bindata.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
util_avatar.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
util_date_legacy.go Refactor template ctx and render utils (#32422) 2024-11-05 14:04:26 +08:00
util_date_test.go Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
util_date.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
util_dict.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
util_format_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
util_format.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
util_json.go Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
util_misc.go enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
util_render_legacy.go Add material icons for file list (#33837) 2025-03-10 15:57:17 +08:00
util_render_test.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00
util_render.go feat: Add sorting by exclusive labels (issue priority) (#33206) 2025-04-10 17:18:07 +00:00
util_slice.go Improve template helper functions: string/slice (#24266) 2023-04-22 14:16:22 -04:00
util_string.go Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
util_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00