Browse Source

Also hide button, when viewing student plans.

Paulo Reis 10 years ago
parent
commit
bba39cc902
1 changed files with 4 additions and 1 deletions
  1. 4 1
      services/web/app/views/subscriptions/plans.jade

+ 4 - 1
services/web/app/views/subscriptions/plans.jade

@@ -139,7 +139,10 @@ block content
 											li  
 											li  
 											li
 											li
 												br
 												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
 								.col-md-4
 									.card.card-highlighted
 									.card.card-highlighted