Merge pull request #57 from yosssi/fix-alert-layout-adding-user
Fixed the overflow of the url when adding an admin user or a team member.
This commit is contained in:
commit
60765d6b37
4 changed files with 14 additions and 7 deletions
|
@ -1074,3 +1074,6 @@ ul.account-radio-group li img {
|
|||
padding: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.url {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
|
|
@ -1260,4 +1260,8 @@ pre {
|
|||
padding: 20px;
|
||||
margin-bottom:30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.url {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
|
|
@ -59,9 +59,9 @@
|
|||
if (this.status == 200) {
|
||||
var msg = "User Invitation was sent successfully";
|
||||
if (this.responseText != "OK") {
|
||||
msg = "Email is not currently enabled. In order to invite the user, you'll need to provide them the following link: " + this.responseText;
|
||||
msg = "Email is not currently enabled. In order to invite the user, you'll need to provide them the following link:<br><span class='url'>" + this.responseText + "</span>";
|
||||
}
|
||||
$("#successAlert").text(msg);
|
||||
$("#successAlert").html(msg);
|
||||
$("#successAlert").show().removeClass("hide");
|
||||
$('#submitButton').button('reset')
|
||||
|
||||
|
@ -75,4 +75,4 @@
|
|||
return false;
|
||||
}
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -69,9 +69,9 @@
|
|||
if (this.status == 200) {
|
||||
var msg = "An invitation has been sent (via email) to join the Team.";
|
||||
if (this.responseText != "OK") {
|
||||
msg = "Email is not currently enabled. In order to invite this team member user, you'll need to provide them the following link: " + this.responseText;
|
||||
msg = "Email is not currently enabled. In order to invite this team member user, you'll need to provide them the following link:<br><span class='url'>" + this.responseText + "</span>";
|
||||
}
|
||||
$("#successAlert").text(msg);
|
||||
$("#successAlert").html(msg);
|
||||
$("#successAlert").show().removeClass("hide");
|
||||
$('#submitButton').button('reset')
|
||||
} else {
|
||||
|
@ -84,4 +84,4 @@
|
|||
return false;
|
||||
}
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue