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,7 +1,12 @@
div#history(ng-show="ui.view == 'history'")
span(ng-controller="HistoryPremiumPopup")
.upgrade-prompt(ng-show="!project.features.versioning")
.message(ng-show="project.owner._id == user.id")
div(sixpack-switch="teaser-track-changes")
.message(
sixpack-default
ng-show="project.owner._id == user.id"
)
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")}
ul.list-unstyled
@ -28,7 +33,6 @@ div#history(ng-show="ui.view == 'history'")
li
i.fa.fa-check  
|#{translate("compile_larger_projects")}
p.text-center(ng-controller="FreeTrialModalController")
a.btn.btn-success(
href
@ -36,6 +40,11 @@ div#history(ng-show="ui.view == 'history'")
ng-click="startFreeTrial('history')"
) #{translate("start_free_trial")}
.message(
sixpack-when="focused"
ng-show="project.owner._id == user.id"
)
| TODO
.message(ng-show="project.owner._id != user.id")
p #{translate("ask_proj_owner_to_upgrade_for_history")}