1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 08:34:29 +00: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 Fix some broken css (#23560) 2023-03-18 17:53:12 -04:00
codemirror Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
console Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
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 Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
themes CSS color tweaks (#23828) 2023-03-31 16:24:47 +08:00
admin.css Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
animations.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
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 Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
explore.css Fix long name ui issues and label ui issue (#23541) 2023-03-18 17:07:59 +01:00
font_i18n.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
form.css Replace tribute with text-expander-element for textarea (#23985) 2023-04-09 12:18:45 -04:00
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 Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
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 Expand/Collapse all changed files (#23639) 2023-04-09 21:11:02 +08:00
runner.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
svg.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
tribute.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
user.css Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00