Skip to content

Commit

Permalink
Clean up information alert on reconcile page. (CO-2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Jan 13, 2023
1 parent 2413542 commit e518da6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions app/templates/Matchgrids/reconcile.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,23 @@
}
}
$canAttr = array_merge($canAttr, $tempArr);

// $flashArgs pass banner messages to the flash element container
$flashArgs = [];
if(!empty($indexBanners)) {
$flashArgs['vv_index_banners'] = $indexBanners;
}
if(!empty($banners)) {
$flashArgs['vv_banners'] = $banners;
}
?>

<div class="pageTitleContainer">
<div class="pageTitle">
<h1><?= __('match.op.reconcile.requests'); ?></h1>
</div>
</div>
<?= $this->element('flash', $flashArgs); ?>
<div class="view-controls">
<span class="view-controls-title"><?= __('match.op.highlight'); ?></span>
<div class="form-check form-check-inline">
Expand Down
2 changes: 1 addition & 1 deletion app/webroot/css/co-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ body.logged-in #top-menu {
}
.co-alert.alert-information {
background-color: var(--cmg-color-blue-006);
color: var(--cmg-color-blue-005);
color: var(--cmg-color-blue-007);
border-color: var(--cmg-color-blue-001);
}
.co-alert .alert-icon {
Expand Down
3 changes: 2 additions & 1 deletion app/webroot/css/co-color.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
--cmg-color-blue-003: #0c75c0; /* submit buttons, .btn-primary */
--cmg-color-blue-004: #9fc6e2; /* spinner */
--cmg-color-blue-005: #53B1F4; /* link focus borders for keyboard nav */
--cmg-color-blue-006: #17a2b8; /* info bagde */
--cmg-color-blue-006: #d4ecff; /* alert: info backgoround */
--cmg-color-blue-007: #0B3556; /* alert: info text color */

--cmg-color-gray-001: #222; /* body text */
--cmg-color-gray-002: #555; /* headings text */
Expand Down

0 comments on commit e518da6

Please sign in to comment.