1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/templates/admin
wxiaoguang fddde93759
[PORT] Replace DateTime with proper functions (gitea#32402)
Follow https://github.com/go-gitea/gitea/pull/32383

This PR cleans up the "Deadline" usages in templates, make them call
`ParseLegacy` first to get a `Time` struct then display by `DateUtils`.

Now it should be pretty clear how "deadline string" works, it makes it
possible to do further refactoring and correcting.

(cherry picked from commit 259811617ba15c77ddd89360178a59251d611af2)
2024-11-03 17:03:14 +01:00
..
applications Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
auth [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
emails Support delete user email in admin panel (#31690) 2024-07-28 09:00:29 +02:00
org [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
packages [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
repo [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
runners Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
user [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
actions.tmpl Added instance-level variables (#28115) 2023-12-25 07:28:59 +00:00
config.tmpl Add cache test for admins (#31265) 2024-06-23 11:27:03 +02:00
config_settings.tmpl Remove fomantic checkbox module (#30162) 2024-04-07 11:05:37 +02:00
cron.tmpl [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
dashboard.tmpl Remove urls from translations (#31950) 2024-09-12 17:28:58 +05:00
hook_new.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl [UI] Fix admin layout 2024-07-30 23:35:22 +02:00
navbar.tmpl [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
notice.tmpl [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
queue.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
queue_manage.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
self_check.tmpl Add cache test for admins (#31265) 2024-06-23 11:27:03 +02:00
stacktrace-row.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
stacktrace.tmpl Fix incorrect tailwind migration (#30007) 2024-03-26 19:04:27 +01:00
stats.tmpl [REFACTOR] Simplify converting struct to map in admin stats 2024-02-22 22:25:19 +01:00
system_status.tmpl Auto-update the system status in admin dashboard (#29163) 2024-02-17 23:24:31 +01:00