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'") 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")
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: strong #{translate("upgrade_to_get_feature", {feature:"full Project History"})}
p.text-center.small(ng-show="startedFreeTrial") #{translate("refresh_page_after_starting_free_trial")} p.text-center.small(ng-show="startedFreeTrial") #{translate("refresh_page_after_starting_free_trial")}
ul.list-unstyled ul.list-unstyled
@ -28,7 +33,6 @@ div#history(ng-show="ui.view == 'history'")
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
@ -36,6 +40,11 @@ div#history(ng-show="ui.view == 'history'")
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")}