mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-18 19:41:22 +00:00
Add link to DataJoy that shows randomly 50% of the time
This commit is contained in:
parent
fc72ca601e
commit
30eb79dfdc
1 changed files with 26 additions and 12 deletions
|
@ -70,19 +70,33 @@
|
||||||
strong #{translate("create_your_first_project")}
|
strong #{translate("create_your_first_project")}
|
||||||
|
|
||||||
- if (showUserDetailsArea)
|
- if (showUserDetailsArea)
|
||||||
.row-spaced#userProfileInformation(ng-if="projects.length > 0", ng-cloak)
|
- if (Math.random() < 0.5)
|
||||||
div(ng-controller="UserProfileController")
|
.row-spaced
|
||||||
hr(ng-show="percentComplete < 100")
|
hr
|
||||||
.text-centered.user-profile(ng-show="percentComplete < 100")
|
.card.card-thin
|
||||||
.progress
|
p.text-center.small
|
||||||
.progress-bar.progress-bar-info(ng-style="{'width' : (percentComplete+'%')}")
|
| <strong>Python</strong> or <strong>R</strong> user?
|
||||||
|
|
||||||
p.small #{translate("profile_complete_percentage", {percentval:"{{percentComplete}}"})}
|
p.text-center.small
|
||||||
|
a(href="https://www.getdatajoy.com/", target="_blank").btn.btn-info.btn-small Try DataJoy
|
||||||
|
|
||||||
button#completeUserProfileInformation.btn.btn-info(
|
p.text-center.small(style="font-size: 0.8em")
|
||||||
ng-hide="formVisable",
|
a(href="https://www.getdatajoy.com/", target="_blank") DataJoy
|
||||||
ng-click="openUserProfileModal()"
|
| is a new online Python and R editor from ShareLaTeX.
|
||||||
) #{translate("complete")}
|
- else
|
||||||
|
.row-spaced#userProfileInformation(ng-if="projects.length > 0", ng-cloak)
|
||||||
|
div(ng-controller="UserProfileController")
|
||||||
|
hr(ng-show="percentComplete < 100")
|
||||||
|
.text-centered.user-profile(ng-show="percentComplete < 100")
|
||||||
|
.progress
|
||||||
|
.progress-bar.progress-bar-info(ng-style="{'width' : (percentComplete+'%')}")
|
||||||
|
|
||||||
|
p.small #{translate("profile_complete_percentage", {percentval:"{{percentComplete}}"})}
|
||||||
|
|
||||||
|
button#completeUserProfileInformation.btn.btn-info(
|
||||||
|
ng-hide="formVisable",
|
||||||
|
ng-click="openUserProfileModal()"
|
||||||
|
) #{translate("complete")}
|
||||||
|
|
||||||
-if (settings.enableSubscriptions && !hasSubscription)
|
-if (settings.enableSubscriptions && !hasSubscription)
|
||||||
.row-spaced(ng-if="projects.length > 0", ng-cloak).text-centered
|
.row-spaced(ng-if="projects.length > 0", ng-cloak).text-centered
|
||||||
|
|
Loading…
Reference in a new issue