Basic test mark-up structure.

This commit is contained in:
Paulo Reis 2016-10-26 15:48:03 +01:00
parent c9925a3590
commit b5494c1730

View file

@ -1,41 +1,50 @@
div#history(ng-show="ui.view == 'history'") div#history(ng-show="ui.view == 'history'")
span(ng-controller="HistoryPremiumPopup") span(ng-controller="HistoryPremiumPopup")
.upgrade-prompt(ng-show="!project.features.versioning") .upgrade-prompt(ng-show="!project.features.versioning")
.message(ng-show="project.owner._id == user.id")
p.text-center: strong #{translate("upgrade_to_get_feature", {feature:"full Project History"})} div(sixpack-switch="teaser-track-changes")
p.text-center.small(ng-show="startedFreeTrial") #{translate("refresh_page_after_starting_free_trial")} .message(
ul.list-unstyled sixpack-default
li ng-show="project.owner._id == user.id"
i.fa.fa-check   )
| #{translate("unlimited_projects")} p.text-center: strong #{translate("upgrade_to_get_feature", {feature:"full Project History"})}
p.text-center.small(ng-show="startedFreeTrial") #{translate("refresh_page_after_starting_free_trial")}
li ul.list-unstyled
i.fa.fa-check   li
| #{translate("collabs_per_proj", {collabcount:'Multiple'})} i.fa.fa-check  
| #{translate("unlimited_projects")}
li
i.fa.fa-check   li
| #{translate("full_doc_history")} i.fa.fa-check  
| #{translate("collabs_per_proj", {collabcount:'Multiple'})}
li
i.fa.fa-check   li
| #{translate("sync_to_dropbox")} i.fa.fa-check  
| #{translate("full_doc_history")}
li
i.fa.fa-check  
| #{translate("sync_to_dropbox")}
li li
i.fa.fa-check   i.fa.fa-check  
| #{translate("sync_to_github")} | #{translate("sync_to_github")}
li li
i.fa.fa-check   i.fa.fa-check  
|#{translate("compile_larger_projects")} |#{translate("compile_larger_projects")}
p.text-center(ng-controller="FreeTrialModalController")
p.text-center(ng-controller="FreeTrialModalController") a.btn.btn-success(
a.btn.btn-success( href
href ng-class="buttonClass"
ng-class="buttonClass" ng-click="startFreeTrial('history')"
ng-click="startFreeTrial('history')" ) #{translate("start_free_trial")}
) #{translate("start_free_trial")}
.message(
sixpack-when="focused"
ng-show="project.owner._id == user.id"
)
| TODO
.message(ng-show="project.owner._id != user.id") .message(ng-show="project.owner._id != user.id")
p #{translate("ask_proj_owner_to_upgrade_for_history")} p #{translate("ask_proj_owner_to_upgrade_for_history")}