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
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
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
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
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