mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 17:24:22 +00:00 
			
		
		
		
	Fix nil error when some pages are rendered outside request context (#19427)
This commit is contained in:
		@@ -10,7 +10,7 @@
 | 
			
		||||
					{{AppVer}}
 | 
			
		||||
				{{end}}
 | 
			
		||||
			{{end}}
 | 
			
		||||
			{{if ShowFooterTemplateLoadTime}}
 | 
			
		||||
			{{if and .TemplateLoadTimes ShowFooterTemplateLoadTime}}
 | 
			
		||||
				{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong>
 | 
			
		||||
				{{.i18n.Tr "template"}}
 | 
			
		||||
				{{if .TemplateName}} {{.TemplateName}}{{end}}: <strong>{{call .TemplateLoadTimes}}</strong>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user