forked from forgejo/forgejo
More db.DefaultContext
refactor (#27265)
Part of #27065 This PR touches functions used in templates. As templates are not static typed, errors are harder to find, but I hope I catch it all. I think some tests from other persons do not hurt.
This commit is contained in:
parent
3945c26722
commit
cf0df023be
66 changed files with 455 additions and 456 deletions
|
@ -43,7 +43,7 @@
|
|||
{{svg "octicon-repo" 16 "text grey"}}
|
||||
{{end}}
|
||||
</div>
|
||||
<a class="notifications-link gt-df gt-f1 gt-fc silenced" href="{{.Link}}">
|
||||
<a class="notifications-link gt-df gt-f1 gt-fc silenced" href="{{.Link ctx}}">
|
||||
<div class="notifications-top-row gt-font-13">
|
||||
{{.Repository.FullName}} {{if .Issue}}<span class="text light-3">#{{.Issue.Index}}</span>{{end}}
|
||||
{{if eq .Status 3}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue