Skip to content

Commit

Permalink
client_logins uri limit with ellipsis
Browse files Browse the repository at this point in the history
limits long uri that may break lines in table
  • Loading branch information
ssteeltm committed May 16, 2024
1 parent abc936d commit 067d674
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client_logins.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
if (empty($login_uri)) {
$login_uri_display = "-";
} else {
$login_uri_display_size = 40;
$login_uri_display_ellipsis = "";
if (strlen($login_uri) > $login_uri_display_size) {
$login_uri_display_ellipsis = "...";
}
$login_uri_display = "$login_uri<button class='btn btn-sm clipboardjs' type='button' data-clipboard-text='$login_uri'><i class='far fa-copy text-secondary'></i></button>";
}
$login_uri_2 = nullable_htmlentities($row['login_uri_2']);
Expand Down

0 comments on commit 067d674

Please sign in to comment.