Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/modules/templates
wxiaoguang 7e1aa8a5cd
[PORT] Refactor DateUtils and merge TimeSince (gitea#32409)
Follow #32383 and #32402

---
Conflict resolution: Magic, painful.

(cherry picked from commit b068dbd40ee3b4dc7d18cdcf168f0c24cea234c0)
2024-11-10 22:23:27 +01:00
..
eval Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
scopedtmpl Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
vars Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +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.go [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
helper_test.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
htmlrenderer.go Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
htmlrenderer_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
mailer.go Add slogan config (#3752) 2024-06-07 17:12:48 +00:00
main_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01: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 Lazy load avatar images (#32051) 2024-09-22 09:11:06 +02:00
util_date.go [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
util_date_test.go [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
util_dict.go Use Set[Type] instead of map[Type]bool/struct{}. (#26804) 2023-08-30 06:55:25 +00:00
util_json.go Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
util_misc.go Avoid losing token when updating mirror settings (#30429) 2024-04-15 20:01:36 +02:00
util_render.go feat: combine review requests comments 2024-10-25 22:57:32 +02:00
util_render_test.go feat: Add partial quoting 2024-10-26 19:15:43 +02:00
util_slice.go Improve template helper functions: string/slice (#24266) 2023-04-22 14:16:22 -04:00
util_string.go enh(search): improve issue search 2024-11-10 07:17:27 +00:00
util_string_test.go templates: HasPrefix support for template.HTML 2024-02-16 15:20:52 +01:00
util_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00