Merge pull request #1402 from alexhermida/feat/change_logo_load_error_templates

Load SVG as img instead object in error pages
stable
Alejandro 2018-02-13 08:53:16 +01:00 committed by GitHub
commit cd7ca64f5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -2,8 +2,7 @@ doctype html
div.error-main
div.error-container
object.logo-svg(type="image/svg+xml", data="/#{v}/svg/logo.svg")
img(src="/#{v}/images/logo.png", alt="TAIGA")
img(src="/#{v}/svg/logo.svg", alt="TAIGA")
h1.logo Taiga
p.error-text(translate="ERROR.TEXT1")
a(href="/", title="", translate="COMMON.GO_HOME")

View File

@ -2,8 +2,7 @@ doctype html
div.error-main
div.error-container
object.logo-svg(type="image/svg+xml", data="/#{v}/svg/logo.svg")
img(src="/#{v}/images/logo.png", alt="TAIGA")
img(src="/#{v}/svg/logo.svg", alt="TAIGA")
h1.logo(translate="ERROR.NOT_FOUND")
p.error-text(translate="ERROR.NOT_FOUND_TEXT")
a(href="/", title="", translate="COMMON.GO_HOME")