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