mirror of
https://github.com/bitwarden/server.git
synced 2025-02-23 03:01:23 +01:00
Remove org name from confirmation message (#3218)
Co-authored-by: Rui Tomé <108268980+r-tome@users.noreply.github.com>
This commit is contained in:
parent
6db02e2e5c
commit
1f0251a34e
@ -44,7 +44,7 @@
|
|||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
@if (org.Status == OrganizationStatusType.Pending)
|
@if (org.Status == OrganizationStatusType.Pending)
|
||||||
{
|
{
|
||||||
<a href="#" class="float-right" onclick="return resendOwnerInvite('@org.OrganizationId', '@org.OrganizationName');">
|
<a href="#" class="float-right" onclick="return resendOwnerInvite('@org.OrganizationId');">
|
||||||
<i class="fa fa-envelope-o fa-lg" title="Resend Setup Invite"></i>
|
<i class="fa fa-envelope-o fa-lg" title="Resend Setup Invite"></i>
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
<script>
|
<script>
|
||||||
function resendOwnerInvite(orgId, orgName) {
|
function resendOwnerInvite(orgId) {
|
||||||
if (confirm('Resend invite to "' + orgName + '"?')) {
|
if (confirm('Resend invite to organization?')) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: '@Url.Action("ResendOwnerInvite", "Organizations")' + '?id=' + orgId,
|
url: '@Url.Action("ResendOwnerInvite", "Organizations")' + '?id=' + orgId,
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
contentType: false,
|
contentType: false,
|
||||||
processData: false,
|
processData: false,
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
alert('Invitation has been resent!');
|
alert('Invitation has been resent!');
|
||||||
},
|
},
|
||||||
error: function (response) {
|
error: function (response) {
|
||||||
alert("Error!");
|
alert("Error!");
|
||||||
@ -17,4 +17,4 @@
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user