gitea/templates/shared
Kerwin Bryant f0f1737d4d
Refactor markup and pdf-viewer to use new init framework (#33772)
1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-03-03 11:49:15 -08:00
..
actions Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) 2024-12-23 09:59:16 +00:00
misc Prevent tab shifting, remove extra margin on fluid pages (#31090) 2024-05-27 06:45:16 +00:00
search Fix dynamic content loading init problem (#33748) 2025-03-01 02:02:10 +00:00
secrets Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
user Add a option "--user-type bot" to admin user create, improve role display (#27885) 2025-02-07 08:41:55 +00:00
variables Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
webhook Update feishu icon (#33470) 2025-02-01 14:08:32 +00:00
avatar_upload_crop.tmpl Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
combomarkdowneditor.tmpl Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
fileisempty.tmpl Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
filetoolarge.tmpl Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
issueicon.tmpl Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
issuelist.tmpl Add No Results Prompt Message on Issue List Page (#33699) 2025-02-24 18:24:56 +00:00
repo_search.tmpl Improve repo search UI (#29767) 2024-03-15 09:45:30 +00:00
searchbottom.tmpl Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
searchfile.tmpl Fix wrong line number in code search result (#29260) 2024-03-06 07:24:43 +00:00