diff options
author | silverwind <me@silverwind.io> | 2024-02-02 10:36:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 09:36:32 +0000 |
commit | a062725758b765cdedd1b02da5982c6fbfc5f702 (patch) | |
tree | 5779c8f1df2748bf686d22c16ff30aac68927a46 /templates | |
parent | 71422c0e3b80679c11a0f9a7036b557e851d0c78 (diff) | |
download | gitea-a062725758b765cdedd1b02da5982c6fbfc5f702.tar.gz gitea-a062725758b765cdedd1b02da5982c6fbfc5f702.zip |
Update JS and PY dependencies, build for `es2020` browsers (#28977)
- Update all JS dependencies minus @mcaptcha/vanilla-glue
- Fix new lint errors
- Regenerate SVGs
- Switch to maintained stylelint stylistic plugin
- Tested Mermaid, Citation, Swagger, sorting
- Raise ESBuild target to `es2020` as dictated by `pretty-ms`
dependency.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/commit_page.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index 56bcbc21bb..01fa45babe 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -88,7 +88,7 @@ {{.CsrfTokenHtml}} <div class="field"> <label> - {{ctx.Locale.Tr "repo.branch.new_branch_from" "<span class=\"text\" id=\"modal-create-branch-from-span\"></span>" | Safe}} + {{ctx.Locale.Tr "repo.branch.new_branch_from" `<span class="text" id="modal-create-branch-from-span"></span>` | Safe}} </label> </div> <div class="required field"> @@ -113,7 +113,7 @@ <input type="hidden" name="create_tag" value="true"> <div class="field"> <label> - {{ctx.Locale.Tr "repo.tag.create_tag_from" "<span class=\"text\" id=\"modal-create-tag-from-span\"></span>" | Safe}} + {{ctx.Locale.Tr "repo.tag.create_tag_from" `<span class="text" id="modal-create-tag-from-span"></span>` | Safe}} </label> </div> <div class="required field"> |