Fix conditional

This commit is contained in:
Jessica Lawshe 2018-04-09 12:54:34 -05:00
parent f44ddcb928
commit 5683f48d97

View file

@ -76,7 +76,7 @@ block content
br br
a.btn.btn-info( a.btn.btn-info(
href="/register" href="/register"
style=(getLoggedInUserId() === undefined ? "" : "visibility: hidden") style=(getLoggedInUserId() === null ? "" : "visibility: hidden")
) #{translate("sign_up_now")} ) #{translate("sign_up_now")}
.col-md-4 .col-md-4
.card.card-highlighted .card.card-highlighted
@ -142,7 +142,7 @@ block content
br br
a.btn.btn-info( a.btn.btn-info(
href="/register" href="/register"
style=(getLoggedInUserId() === undefined ? "" : "visibility: hidden") style=(getLoggedInUserId() === null ? "" : "visibility: hidden")
) #{translate("sign_up_now")} ) #{translate("sign_up_now")}
.col-md-4 .col-md-4