mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #1419 from sharelatex/as-fix-invites-permissions
Fix invite permissions in share modal GitOrigin-RevId: 8fe073faebcd84236ac58671820166a2ad73262f
This commit is contained in:
parent
88249226f4
commit
6650dfe494
2 changed files with 12 additions and 2 deletions
|
@ -88,12 +88,15 @@ script(type='text/ng-template', id='shareProjectModalTemplate')
|
|||
.col-xs-8 {{ invite.email }}
|
||||
div.small
|
||||
| #{translate("invite_not_accepted")}.
|
||||
a(href="#", ng-click="resendInvite(invite, $event)") #{translate("resend")}
|
||||
button.btn.btn-inline-link(
|
||||
ng-show="isAdmin",
|
||||
ng-click="resendInvite(invite, $event)"
|
||||
) #{translate("resend")}
|
||||
.col-xs-3.text-left
|
||||
// todo: get invite privileges
|
||||
span(ng-show="invite.privileges == 'readAndWrite'") #{translate("can_edit")}
|
||||
span(ng-show="invite.privileges == 'readOnly'") #{translate("read_only")}
|
||||
.col-xs-1
|
||||
.col-xs-1(ng-show="isAdmin")
|
||||
a(
|
||||
href
|
||||
tooltip=translate('revoke_invite')
|
||||
|
|
|
@ -121,6 +121,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
.btn-inline-link {
|
||||
.btn-link();
|
||||
padding: 0;
|
||||
font-size: inherit;
|
||||
vertical-align: inherit;
|
||||
}
|
||||
|
||||
// Button Sizes
|
||||
// --------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue