Show message asking owner to upgrade if user is not owner

This commit is contained in:
James Allen 2017-02-14 11:18:22 +01:00
parent 61ef158f76
commit 3f2ebbcf91

View file

@ -417,7 +417,9 @@ script(type="text/ng-template", id="trackChangesUpgradeModalTemplate")
a.btn.btn-success(
href
ng-click="startFreeTrial('track-changes')"
ng-show="project.owner._id == user.id"
) Try it for free
p(ng-show="project.owner._id != user.id"): strong Please ask the project owner to upgrade to use track changes
.modal-footer()
button.btn.btn-default(