forgejo/web_src
Zettat123 e301e26d7a
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`.
2023-04-27 12:40:36 +08:00
..
css Add tags list for repos whose release setting is disabled (#23465) (#24369) 2023-04-27 12:40:36 +08:00
fomantic Fix Fomantic UI's touchstart fastclick, always use click for click events (#23065) (#23195) 2023-02-28 17:53:45 -05:00
js Fix issue attachment handling (#24202) (#24221) 2023-04-20 04:21:10 -04:00
less Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
svg Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00