Skip to content

Commit

Permalink
Minor UI convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
LEWE, GEORGE committed Mar 18, 2024
1 parent b422ebb commit 180be3b
Show file tree
Hide file tree
Showing 3 changed files with 388 additions and 132 deletions.
6 changes: 2 additions & 4 deletions src/Helpers/auth_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ function auth_display(): string {
}

$html = '
<div class="alert alert-dismissible fade show alert-info" role="alert">
<button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-label="Close" title="Close"></button>
<div class="alert fade show alert-info" role="alert">
<h4 class="alert-heading">' . lang('Auth.current_user') . '</h4>
<hr>
<div>
Expand All @@ -54,8 +53,7 @@ function auth_display(): string {
</div>';
} else {
$html = '
<div class="alert alert-dismissible fade show alert-warning" role="alert">
<button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-label="Close" title="Close"></button>
<div class="alert fade show alert-warning" role="alert">
<h4 class="alert-heading">' . lang('Auth.current_user') . '</h4>
<hr>
<div>
Expand Down
Loading

0 comments on commit 180be3b

Please sign in to comment.