forgejo/routers/web/repo
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
..
actions default show closed actions list if all actions was closed (#24234) 2023-04-24 23:34:16 -04:00
activity.go
attachment.go Make Release Download URLs predictable (#23891) 2023-04-12 17:05:23 +08:00
blame.go Sort repo topic labels by name (#24123) 2023-04-14 15:29:05 -04:00
branch.go Add RSS Feeds for branches and files (#22719) 2023-04-25 22:08:29 +08:00
cherry_pick.go
commit.go Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
compare.go Don't list root repository on compare page if pulls not allowed (#24183) 2023-04-19 11:16:46 -04:00
download.go
editor.go Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
editor_test.go
find.go
helper.go Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2023-04-07 08:11:02 +08:00
helper_test.go Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2023-04-07 08:11:02 +08:00
http.go
http_test.go
issue.go Show commit history for closed/merged PRs (#24238) 2023-04-21 12:36:37 -04:00
issue_content_history.go
issue_dependency.go Add API to manage issue dependencies (#17935) 2023-03-28 13:23:25 -04:00
issue_label.go Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
issue_label_test.go Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
main_test.go
middlewares.go Use graceful editorconfig loader to reduce errors when loading malformed editorconfigs (#21257) 2023-04-06 16:01:20 -04:00
migrate.go
milestone.go
packages.go
patch.go
projects.go Add unset default project column (#23531) 2023-04-19 10:28:28 -04:00
projects_test.go
pull.go Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2023-04-07 08:11:02 +08:00
pull_review.go Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2023-03-04 02:13:37 -05:00
release.go Add tags list for repos whose release setting is disabled (#23465) 2023-04-25 18:29:00 +02:00
release_test.go
render.go
repo.go Make Release Download URLs predictable (#23891) 2023-04-12 17:05:23 +08:00
runners.go
search.go
setting.go
setting_protected_branch.go
setting_secrets.go Only delete secrets belonging to its owner (#24284) 2023-04-23 21:35:14 +08:00
settings_test.go
tag.go
topic.go
treelist.go
view.go Add RSS Feeds for branches and files (#22719) 2023-04-25 22:08:29 +08:00
view_test.go
webhook.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
wiki.go Make wiki title supports dashes and improve wiki name related features (#24143) 2023-04-19 13:50:10 -04:00
wiki_test.go Make wiki title supports dashes and improve wiki name related features (#24143) 2023-04-19 13:50:10 -04:00