mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Show message asking owner to upgrade if user is not owner
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user