mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
Fixed the overflow of the url when adding an admin user or a team
member.
This commit is contained in:
parent
8102265475
commit
08fdbc8c56
@ -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 New Issue
Block a user