From 09c188030ca050f2f022701bdb4249734e284029 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Tue, 30 Aug 2016 17:42:23 +0100 Subject: [PATCH] Hide sign up button via visibility, to keep the layout fixed. --- services/web/app/views/subscriptions/plans.jade | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/web/app/views/subscriptions/plans.jade b/services/web/app/views/subscriptions/plans.jade index d451c94540..2ee8fbbd9c 100644 --- a/services/web/app/views/subscriptions/plans.jade +++ b/services/web/app/views/subscriptions/plans.jade @@ -72,7 +72,10 @@ block content li   li br - a.btn.btn-info(href="/register") #{translate("sign_up_now")} + a.btn.btn-info( + href="/register" + style=(getLoggedInUserId() === undefined ? "" : "visibility: hidden") + ) #{translate("sign_up_now")} .col-md-4 .card.card-highlighted .card-header