forgejo/templates/repo
Jason Song a01777fd21
[gitea] Hide code links on release page if user cannot read code (#29064)
On the release list page, if the user doesn't have the permission to
read code, the code links will lead to 404 pages or api errors:

<img width="1297" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/a74fbc63-6dd6-43c6-853c-28acdbfdcb4e">

After this PR:

<img width="1297" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/a626373d-c2df-40a9-8fed-1b12ff6bc56f">

And this PR also removed some dead code. After #23465, the tag list page
has an independent template, and all `IsTag` in the release list
template are always false.

(cherry picked from commit f9072dbf3c)
2024-02-10 10:53:42 +01:00
..
actions
branch
cite
code [GITEA] Rework when recently pushed branches are displayed 2024-02-05 16:09:43 +01:00
diff [GITEA] Fix misleading comparisons when comparing branches 2024-02-05 16:09:43 +01:00
editor
find
graph
issue [GITEA] always load outdated comments 2024-02-05 16:57:58 +01:00
migrate Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
projects
pulls
release [gitea] Hide code links on release page if user cannot read code (#29064) 2024-02-10 10:53:42 +01:00
settings Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
tag
wiki
activity.tmpl
admin_flags.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl [GITEA] Configurable clone methods 2024-02-05 16:09:42 +01:00
commit_load_branches_and_tags.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
flags.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
forks.tmpl
graph.tmpl
header.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
home.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
icon.tmpl
latest_commit.tmpl
packages.tmpl
release_tag_header.tmpl
search.tmpl
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl [GITEA] Disable the RSS feed in file view for non-branches 2024-02-05 16:09:42 +01:00
view_list.tmpl
watch_unwatch.tmpl
watchers.tmpl