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
wxiaoguang c5901b622d
Avoid unnecessary 500 panic when a commit doesn't exist (#28719)
In #26851, it assumed that `Commit` always exists when
`PageIsDiff==true`.

But for a 404 page, the `Commit` doesn't exist, so the following code
would cause panic because nil value can't be passed as string parameter
to `IsMultilineCommitMessage(string)` (or the StringUtils.Cut in later
PRs)
1 year ago
..
admin Added instance-level variables (#28115) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Avoid unnecessary 500 panic when a commit doesn't exist (#28719) 1 year ago
code Fix 500 error of searching commits (#28576) 1 year 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 Add links to owner home page in explore (#28341) 1 year ago
mail Update team invitation email link (#26550) 2 years ago
org Issue fixes for RSS feed improvements (#28380) 1 year ago
package Fix long package version names overflowing (#28619) 1 year ago
projects Use full width for project boards (#28225) 1 year ago
repo Add merge arrow direction and update styling (#28523) 1 year ago
shared Fix tooltip of variable edit button (#28681) 1 year ago
status Clean up template locale usage (#27856) 1 year ago
swagger Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 1 year ago
user Make template `DateTime` show proper tooltip (#28677) 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