You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
silverwind 572f0963ed
Only show diff file tree when more than one file changed (#27775)
When 0 or 1 files changed in a diff, we don't need to show a file tree.
This behaviour matches GitHub. Single-file diff after this change, note
absence of button:

<img width="1234" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/3618438b-e655-42a3-989f-f299267b2b8b">

Co-authored-by: Giteabot <teabot@gitea.io>
1 year ago
..
admin cleanup repo details icons/labels (#27644) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2 years ago
code Fix more "locale" usages (#27259) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Improve dropdown button alignment and fix hover bug (#27632) 1 year ago
explore Fix incorrect "tab" parameter for repo search sub-template (#27755) 1 year ago
mail Update team invitation email link (#26550) 2 years ago
org teams: new View button (#27685) 1 year ago
package Cargo package - Fix missing domain in cargo sparse url (#27370) 2 years ago
projects More `db.DefaultContext` refactor (#27265) 2 years ago
repo Only show diff file tree when more than one file changed (#27775) 1 year ago
shared Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
status Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2 years ago
swagger api: GetPullRequestCommits: return file list (#27483) 1 year ago
user Don't show Link to TOTP if not set up (#27585) 1 year ago
webhook Extract common code to new template (#26933) 2 years ago
home.tmpl Fix more "locale" usages (#27259) 2 years ago
install.tmpl Fix more "locale" usages (#27259) 2 years ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2 years ago