You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/templates
Zettat123 30c1cd9775
Add tags list for repos whose release setting is disabled (#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`.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
1 year ago
..
admin Improve some modal action buttons (#24289) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 1 year ago
base Improve some modal action buttons (#24289) 1 year ago
code Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
devtest Improve some modal action buttons (#24289) 1 year ago
explore Allow using localized absolute date times within phrases with place holders and localize issue due date events (#24275) 1 year ago
mail Remove incorrect HTML self close tag (#23748) 1 year ago
org Improve some modal action buttons (#24289) 1 year ago
package Allow using localized absolute date times within phrases with place holders and localize issue due date events (#24275) 1 year ago
projects Improve some modal action buttons (#24289) 1 year ago
repo Add tags list for repos whose release setting is disabled (#23465) 1 year ago
shared Improve some modal action buttons (#24289) 1 year ago
status Improve some modal action buttons (#24289) 1 year ago
swagger Fix typo in API route (#24310) 1 year ago
user Improve some modal action buttons (#24289) 1 year ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 1 year ago
install.tmpl Remove incorrect HTML self close tag (#23748) 1 year ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 1 year ago