forgejo/templates
Zettat123 eeee32cdc3
Add tags list for repos whose release setting is disabled (#23465) (#24369)
Backport #23465

Close #23427

Co-Author: @wxiaoguang

If a repo's release setting is enabled, the logic has't changed.
Clicking the "Tags" button will jump to `/{user}/{repo}/tags` and
`templates/repo/release/list.tmpl` template will be used.

<img
src="https://user-images.githubusercontent.com/15528715/224939362-bd8974fd-08b0-4f79-a114-3389d15847ca.png"
width="600px" />

If the release setting is disabled, clicking the "Tags" button will
still jump to `/{user}/{repo}/tags` but a new template
`templates/repo/tag/list.tmpl` will be used.

<img
src="https://user-images.githubusercontent.com/15528715/233834564-74741e49-f4e9-47c8-ac12-e306642798dc.png"
width="600px" />

Since both templates above need to render the tags list, I moved the
tags list to a shared template located in
`templates/repo/tag/table.tmpl`.

(cherry picked from commit e301e26d7a)
2023-04-28 08:58:05 +02:00
..
admin [BRANDING] define the forgejo webhook type 2023-04-22 16:53:14 +02:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base [BRANDING] Rebrand footer "powered by" links 2023-04-28 07:41:31 +02:00
code Fix 'View File' button in code search (#23478) (#23483) 2023-03-15 10:34:05 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766) (#23791) 2023-03-30 09:09:22 -05:00
mail Revert relative links to absolute links in mail templates (#23267) (#23269) 2023-03-03 17:41:00 +00:00
org [BRANDING] define the forgejo webhook type 2023-04-22 16:53:14 +02:00
package fix: do not escape space between PyPI repository url and package name… (#23981) (#24008) 2023-04-08 23:13:43 +02:00
projects Add cardtype to org/user level project on creation, edit and view (#24043) (#24066) 2023-04-12 08:23:05 -04:00
repo Add tags list for repos whose release setting is disabled (#23465) (#24369) 2023-04-28 08:58:05 +02:00
shared Fix due date being wrong on issue list (#23475) (#23477) 2023-03-15 09:40:43 +08:00
status Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
swagger Fix typo in API route (#24310) (#24332) 2023-04-28 07:33:38 +02:00
user Remove row clicking from notification table (#22695) (#23706) 2023-03-26 01:21:40 +02:00
home.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
install.tmpl [BRANDING] Custom loading animation for Forgejo 2023-04-22 16:53:13 +02:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2023-04-22 16:53:13 +02:00