Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 05:06:11 +01:00
forgejo/templates/repo/issue/view_content
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
..
sidebar [PORT] Replace DateTime with DateUtils (gitea#32383) 2024-11-03 16:37:01 +01:00
add_reaction.tmpl Improve and fix bugs surrounding reactions (#24760) 2023-05-28 01:34:18 +00:00
attachments.tmpl Provide a way to translate data units 2024-03-30 21:10:47 +05:00
comments.tmpl [PORT] Replace DateTime with proper functions (gitea#32402) 2024-11-03 17:03:14 +01:00
comments_authorlink.tmpl Include resource state events in Gitlab downloads (#29382) 2024-03-06 12:10:43 +08:00
comments_delete_time.tmpl Replace some gt- classes with tw- (#29570) 2024-03-11 23:36:57 +07:00
context_menu.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
conversation.tmpl fix(ui): fix conversation template 2024-07-25 23:51:17 +05:00
pull.tmpl fix: Don't double escape delete branch text 2024-10-19 22:05:35 +02:00
pull_merge_instruction.tmpl [PORT] Add warning message in merge instructions when AutodetectManualMerge was not enabled (gitea#31805) 2024-08-11 19:15:37 +02:00
reactions.tmpl Add non-JS fallback for reaction tooltips (#28785) 2024-01-15 09:42:59 +08:00
reference_issue_dialog.tmpl Fix dropdown text ellipsis (#30628) 2024-04-22 21:02:29 +02:00
show_role.tmpl Clarify author label in tooltip 2024-06-25 18:30:06 +05:00
sidebar.tmpl feat: "assign to me" button on PRs and issues 2024-10-08 18:36:37 +02:00
update_branch_by_merge.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00