mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 16:58:09 +01:00
30c1cd9775
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> |
||
---|---|---|
.. | ||
actions | ||
branch | ||
cite | ||
diff | ||
editor | ||
find | ||
graph | ||
issue | ||
migrate | ||
projects | ||
pulls | ||
release | ||
settings | ||
tag | ||
wiki | ||
activity.tmpl | ||
blame.tmpl | ||
branch_dropdown.tmpl | ||
clone_buttons.tmpl | ||
clone_script.tmpl | ||
commit_page.tmpl | ||
commit_status.tmpl | ||
commit_statuses.tmpl | ||
commits.tmpl | ||
commits_list.tmpl | ||
commits_list_small.tmpl | ||
commits_table.tmpl | ||
create.tmpl | ||
create_helper.tmpl | ||
empty.tmpl | ||
file_info.tmpl | ||
forks.tmpl | ||
graph.tmpl | ||
header.tmpl | ||
home.tmpl | ||
icon.tmpl | ||
packages.tmpl | ||
search.tmpl | ||
search_name.tmpl | ||
shabox_badge.tmpl | ||
sub_menu.tmpl | ||
sub_menu_release_tag.tmpl | ||
unicode_escape_prompt.tmpl | ||
upload.tmpl | ||
user_cards.tmpl | ||
view_file.tmpl | ||
view_list.tmpl | ||
watchers.tmpl |