0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-12 04:09:41 +02:00
gitea/web_src/css
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>
2023-04-25 18:29:00 +02:00
..
chroma Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
code
codemirror
console
features Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
markup Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
modules Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
shared Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
standalone
themes
admin.css Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
animations.css
base.css Make SVG in dropdown menu have the same margin-right as IMG (#24316) 2023-04-25 07:34:37 -04:00
dashboard.css Vertical widths of containers removed (#24184) 2023-04-19 12:13:00 -04:00
editor-markdown.css Set EasyMDE heading font-size to the same size as the resulting markdown (#24151) 2023-04-16 20:01:08 +08:00
editor.css
explore.css
font_i18n.css
form.css
helpers.css Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
home.css Fix footer display (#24251) 2023-04-22 01:58:59 -04:00
index.css Add tags list for repos whose release setting is disabled (#23465) 2023-04-25 18:29:00 +02:00
install.css Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
organization.css Use secondary pointing menu for tabs on user/organization home page (#24162) 2023-04-20 04:58:26 -04:00
package.css
repository-release-tag.css Add tags list for repos whose release setting is disabled (#23465) 2023-04-25 18:29:00 +02:00
repository.css Add tags list for repos whose release setting is disabled (#23465) 2023-04-25 18:29:00 +02:00
review.css
runner.css
svg.css
tribute.css
user.css Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00