diff options
author | Alexey 〒erentyev <axifnx@gmail.com> | 2019-12-19 06:35:03 +0300 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-12-18 22:35:03 -0500 |
commit | 4147cc91ed07666613fa84cd8caffde9b1a8b916 (patch) | |
tree | acf525d1ef8fdb3a00b8ec7083a00751c2779126 /templates | |
parent | 559fb6ccf03d6b6d128e7100b891cc758a85302e (diff) | |
download | gitea-4147cc91ed07666613fa84cd8caffde9b1a8b916.tar.gz gitea-4147cc91ed07666613fa84cd8caffde9b1a8b916.zip |
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>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/head.tmpl | 4 | ||||
-rw-r--r-- | templates/pwa/serviceworker_js.tmpl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index b8fb6d29ef..72ca779e91 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -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> diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl index c33b7fdb0e..c3e97030c1 100644 --- a/templates/pwa/serviceworker_js.tmpl +++ b/templates/pwa/serviceworker_js.tmpl @@ -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 |