mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Show message asking owner to upgrade if user is not owner
This commit is contained in:
parent
61ef158f76
commit
3f2ebbcf91
1 changed files with 2 additions and 0 deletions
|
@ -417,7 +417,9 @@ script(type="text/ng-template", id="trackChangesUpgradeModalTemplate")
|
||||||
a.btn.btn-success(
|
a.btn.btn-success(
|
||||||
href
|
href
|
||||||
ng-click="startFreeTrial('track-changes')"
|
ng-click="startFreeTrial('track-changes')"
|
||||||
|
ng-show="project.owner._id == user.id"
|
||||||
) Try it for free
|
) 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()
|
.modal-footer()
|
||||||
button.btn.btn-default(
|
button.btn.btn-default(
|
||||||
|
|
Loading…
Reference in a new issue