Fix bug '[Login page] The default wekan logo appears briefly before displaying the custom logo #3830'

This commit is contained in:
Emile NDAGIJIMANA 2021-05-31 15:36:57 +02:00
parent 46e881bea3
commit 5b08ae12a6
2 changed files with 8 additions and 4 deletions

View file

@ -34,8 +34,9 @@ template(name="userFormsLayout")
img(src="{{currentSetting.customLoginLogoImageUrl}}" width="300" height="auto")
br
unless currentSetting.customLoginLogoImageUrl
img(src="{{pathFor '/wekan-logo.svg'}}" alt="" width="300" height="auto")
br
if isSettingDatabaseFctCallDone
img(src="{{pathFor '/wekan-logo.svg'}}" alt="" width="300" height="auto")
br
if currentSetting.textBelowCustomLoginLogo
+viewer
| {{currentSetting.textBelowCustomLoginLogo}}