From b9187ebd088de824d3d357c81caaac9458db453b Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 27 Oct 2015 10:58:51 +0000 Subject: [PATCH] added test to wording for datajoy popup --- .../web/app/views/project/list/side-bar.jade | 40 ++++++++++++++----- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/services/web/app/views/project/list/side-bar.jade b/services/web/app/views/project/list/side-bar.jade index 70a09d9244..558a83c838 100644 --- a/services/web/app/views/project/list/side-bar.jade +++ b/services/web/app/views/project/list/side-bar.jade @@ -74,16 +74,36 @@ - if (Math.random() < 0.5) .row-spaced hr - .card.card-thin - p.text-center.small - | Python or R user? - - p.text-center.small - a(href="https://www.getdatajoy.com/", target="_blank").btn.btn-info.btn-small Try DataJoy - - p.text-center.small(style="font-size: 0.8em") - a(href="https://www.getdatajoy.com/", target="_blank") DataJoy - | is a new online Python and R editor from ShareLaTeX. + .card.card-thin(ng-cloak) + span(sixpack-switch="datajoy_promo_button") + span(sixpack-default) + p.text-center.small + | Python or R user? + p.text-center.small + a(sixpack-convert="datajoy_promo_button", href="https://www.getdatajoy.com/", target="_blank").btn.btn-info.btn-small Try DataJoy + p.text-center.small(style="font-size: 0.8em") + a(href="https://www.getdatajoy.com/", target="_blank") DataJoy + | is a new online Python and R editor from ShareLaTeX. + + span(sixpack-when="learning") + p.text-center.small + | Learning Python? + p.text-center.small + a(sixpack-convert="datajoy_promo_button", href="https://www.getdatajoy.com/", target="_blank").btn.btn-info.btn-small Try DataJoy + p.text-center.small(style="font-size: 0.8em") + a(href="https://www.getdatajoy.com/", target="_blank") DataJoy + | is the easiest editor to use when learning Python. + + + span(sixpack-when="try-now") + p.text-center.small + | Python or R user? + p.text-center.small + a(sixpack-convert="datajoy_promo_button", href="https://www.getdatajoy.com/", target="_blank").btn.btn-info.btn-small Try Now + + p.text-center.small(style="font-size: 0.8em") + a(href="https://www.getdatajoy.com/", target="_blank") DataJoy + | lets work with Python & R in the browser. - else .row-spaced#userProfileInformation(ng-if="projects.length > 0", ng-cloak) div(ng-controller="UserProfileController")