forked from GithubBackups/healthchecks
Improve the "Invite a Team Member" dialog
This commit is contained in:
parent
bbd2786e0f
commit
dfa6f404e6
@ -20,7 +20,7 @@ $(function() {
|
|||||||
|
|
||||||
$(".add-to-team").click(function() {
|
$(".add-to-team").click(function() {
|
||||||
$("#itm-email").val(this.dataset.email);
|
$("#itm-email").val(this.dataset.email);
|
||||||
$("#invite-team-member-modal form").submit();
|
$("#invite-team-member-modal").modal("show");
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -381,11 +381,6 @@
|
|||||||
<h4>Invite a Team Member</h4>
|
<h4>Invite a Team Member</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<ul>
|
|
||||||
<li>Team Members can create and manage Checks and Integrations</li>
|
|
||||||
<li>Only the project owner (you) can view and edit billing settings</li>
|
|
||||||
</ul>
|
|
||||||
<br />
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="itm-email" class="col-sm-3 control-label">Email</label>
|
<label for="itm-email" class="col-sm-3 control-label">Email</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
@ -407,21 +402,26 @@
|
|||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
name="role"
|
name="role"
|
||||||
value="m">
|
value="w"
|
||||||
|
checked>
|
||||||
<span class="radiomark"></span>
|
<span class="radiomark"></span>
|
||||||
Manager
|
Team Member
|
||||||
<span class="help-block">
|
<span class="help-block">
|
||||||
Can invite/remove other members.
|
Can create and manage checks and integrations.
|
||||||
|
Cannot access your account's billing settings.
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<label class="radio-container">
|
<label class="radio-container">
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
name="role"
|
name="role"
|
||||||
value="w"
|
value="m">
|
||||||
checked>
|
|
||||||
<span class="radiomark"></span>
|
<span class="radiomark"></span>
|
||||||
Team Member
|
Manager
|
||||||
|
<span class="help-block">
|
||||||
|
Same as Team Member, plus can invite and remove
|
||||||
|
other members.
|
||||||
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<label class="radio-container">
|
<label class="radio-container">
|
||||||
<input
|
<input
|
||||||
@ -431,8 +431,8 @@
|
|||||||
<span class="radiomark"></span>
|
<span class="radiomark"></span>
|
||||||
Read-only
|
Read-only
|
||||||
<span class="help-block">
|
<span class="help-block">
|
||||||
Cannot modify checks or integrations.
|
Can view checks and integrations, but cannot
|
||||||
Cannot access project's API keys.
|
modify anything. Cannot access project's API keys.
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user