forgejo/web_src/css
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
..
chroma Add --font-weight-bold and set previous bold to 601 (#24307) (#24331) 2023-04-28 07:33:38 +02:00
code Fix some broken css (#23560) (#23567) 2023-03-18 21:37:16 -04:00
codemirror
console
features Fix Monaco IOS keyboard button (#24341) (#24347) 2023-04-28 07:33:39 +02:00
markup Add --font-weight-bold and set previous bold to 601 (#24307) (#24331) 2023-04-28 07:33:38 +02:00
modules
shared Add --font-weight-bold and set previous bold to 601 (#24307) (#24331) 2023-04-28 07:33:38 +02:00
standalone
themes [BRANDING] Add Forgejo light, dark, and auto themes: fix import 2023-04-22 16:53:15 +02:00
admin.css Add --font-weight-bold and set previous bold to 601 (#24307) (#24331) 2023-04-28 07:33:38 +02:00
animations.css
base.css Add --font-weight-bold and set previous bold to 601 (#24307) (#24331) 2023-04-28 07:33:38 +02:00
dashboard.css Vertical widths of containers removed (#24184) (#24211) 2023-04-20 09:02:38 +08:00
editor.css
explore.css
font_i18n.css
form.css CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
helpers.css Add --font-weight-bold and set previous bold to 601 (#24307) (#24331) 2023-04-28 07:33:38 +02:00
home.css Fix footer display (#24251) (#24269) 2023-04-28 07:30:21 +02:00
index.css Add tags list for repos whose release setting is disabled (#23465) (#24369) 2023-04-28 08:58:05 +02:00
install.css Add --font-weight-bold and set previous bold to 601 (#24307) (#24331) 2023-04-28 07:33:38 +02:00
organization.css Org pages style fixes (#23901) (#23914) 2023-04-04 19:05:41 +08:00
package.css
repository-release-tag.css Add tags list for repos whose release setting is disabled (#23465) (#24369) 2023-04-28 08:58:05 +02:00
repository.css Add tags list for repos whose release setting is disabled (#23465) (#24369) 2023-04-28 08:58:05 +02:00
review.css Left-align review comments (#23937) 2023-04-06 09:45:45 +02:00
runner.css
svg.css
tribute.css
user.css Add --font-weight-bold and set previous bold to 601 (#24307) (#24331) 2023-04-28 07:33:38 +02:00