Explorar o código

Don't suggest bonus page to v2 users

James Allen %!s(int64=8) %!d(string=hai) anos
pai
achega
b86ac31c63
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      services/web/app/views/project/list/side-bar.pug

+ 4 - 3
services/web/app/views/project/list/side-bar.pug

@@ -131,9 +131,10 @@
 			p.small #{translate("on_free_sl")}
 			p.small #{translate("on_free_sl")}
 			p
 			p
 				a(href="/user/subscription/plans").btn.btn-primary #{translate("upgrade")}
 				a(href="/user/subscription/plans").btn.btn-primary #{translate("upgrade")}
-			p.small.text-centered
-				| #{translate("or_unlock_features_bonus")} 
-				a(href="/user/bonus") #{translate("sharing_sl")} .
+			if (!settings.overleaf)
+				p.small.text-centered
+					| #{translate("or_unlock_features_bonus")} 
+					a(href="/user/bonus") #{translate("sharing_sl")} .
 
 
 			
 			
 script.
 script.