Fix background reactions in the arc-green theme (#9421)
* Fixed arc-green theme reactions background Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Added MD5 AppVer Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
This commit is contained in:
parent
559fb6ccf0
commit
4147cc91ed
3 changed files with 8 additions and 6 deletions
|
@ -163,10 +163,10 @@
|
|||
<meta property="og:site_name" content="{{AppName}}" />
|
||||
{{if .IsSigned }}
|
||||
{{ if ne .SignedUser.Theme "gitea" }}
|
||||
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css">
|
||||
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}">
|
||||
{{end}}
|
||||
{{else if ne DefaultTheme "gitea"}}
|
||||
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css">
|
||||
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}">
|
||||
{{end}}
|
||||
{{template "custom/header" .}}
|
||||
</head>
|
||||
|
|
|
@ -33,10 +33,10 @@ var urlsToCache = [
|
|||
'{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.css',
|
||||
{{if .IsSigned }}
|
||||
{{ if ne .SignedUser.Theme "gitea" }}
|
||||
'{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css',
|
||||
'{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}',
|
||||
{{end}}
|
||||
{{else if ne DefaultTheme "gitea"}}
|
||||
'{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css',
|
||||
'{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}',
|
||||
{{end}}
|
||||
|
||||
// img
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue