Add link to DataJoy that shows randomly 50% of the time

This commit is contained in:
James Allen 2015-06-09 15:36:16 +01:00
parent fc72ca601e
commit 30eb79dfdc

View file

@ -70,6 +70,20 @@
strong #{translate("create_your_first_project")}
- if (showUserDetailsArea)
- if (Math.random() < 0.5)
.row-spaced
hr
.card.card-thin
p.text-center.small
| <strong>Python</strong> or <strong>R</strong> 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.
- else
.row-spaced#userProfileInformation(ng-if="projects.length > 0", ng-cloak)
div(ng-controller="UserProfileController")
hr(ng-show="percentComplete < 100")