mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	SVG Octicon fixes (#10237)
* SVG fixes Signed-off-by: jolheiser <john.olheiser@gmail.com> * Colorize span->svg only Signed-off-by: jolheiser <john.olheiser@gmail.com> * @silverwind suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Alphabetical Signed-off-by: jolheiser <john.olheiser@gmail.com> * Convert suburl and staticPrefix to window.config Signed-off-by: jolheiser <john.olheiser@gmail.com> * De-structure Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
This commit is contained in:
		@@ -36,8 +36,6 @@
 | 
			
		||||
	<meta name="keywords" content="{{MetaKeywords}}">
 | 
			
		||||
	<meta name="referrer" content="no-referrer" />
 | 
			
		||||
	<meta name="_csrf" content="{{.CsrfToken}}" />
 | 
			
		||||
	<meta name="_suburl" content="{{AppSubUrl}}" />
 | 
			
		||||
	<meta name="_staticprefix" content="{{StaticUrlPrefix}}" />
 | 
			
		||||
	{{if .IsSigned}}
 | 
			
		||||
		<meta name="_uid" content="{{.SignedUser.ID}}" />
 | 
			
		||||
	{{end}}
 | 
			
		||||
@@ -86,6 +84,8 @@
 | 
			
		||||
	</script>
 | 
			
		||||
	<script>
 | 
			
		||||
		window.config = {
 | 
			
		||||
			AppSubUrl: '{{AppSubUrl}}',
 | 
			
		||||
			StaticUrlPrefix: '{{StaticUrlPrefix}}',
 | 
			
		||||
			Datetimepicker: {{if .RequireDatetimepicker}}true{{else}}false{{end}},
 | 
			
		||||
			Dropzone: {{if .RequireDropzone}}true{{else}}false{{end}},
 | 
			
		||||
			HighlightJS: {{if .RequireHighlightJS}}true{{else}}false{{end}},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user