mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Update UI of share modal
This commit is contained in:
@@ -45,7 +45,9 @@ script(type='text/ng-template', id='shareProjectModalTemplate')
|
||||
i.fa.fa-times
|
||||
.row.project-invite(ng-repeat="invite in project.invites")
|
||||
.col-xs-8 {{ invite.email }}
|
||||
span.label.label-primary #{translate("pending")}
|
||||
div.small
|
||||
| #{translate("invite_not_accepted")}.
|
||||
a(href="#", ng-click="resendInvite(invite)") #{translate("resend")}
|
||||
.col-xs-3.text-left
|
||||
// todo: get invite privileges
|
||||
span(ng-show="invite.privileges == 'readAndWrite'") #{translate("can_edit")}
|
||||
|
||||
@@ -135,6 +135,9 @@ define [
|
||||
$scope.state.inflight = false
|
||||
$scope.state.error = "Sorry, something went wrong :("
|
||||
|
||||
$scope.resendInvite = (invite) ->
|
||||
console.log ">> resend"
|
||||
|
||||
$scope.openMakePublicModal = () ->
|
||||
$modal.open {
|
||||
templateUrl: "makePublicModalTemplate"
|
||||
|
||||
Reference in New Issue
Block a user