Skip to content

Commit

Permalink
pkp/pkp-lib#9890 Add icons for Payments and Institutions links
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed May 24, 2024
1 parent 005cc1c commit ccfbc50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/template/TemplateManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public function setupBackendPage()
'name' => __('common.payments'),
'url' => $router->url($request, null, 'payments'),
'isCurrent' => $request->getRequestedPage() === 'payments',
'icon' => 'Payment'
];

$index = array_search('settings', array_keys($menu));
Expand All @@ -180,6 +181,7 @@ public function setupBackendPage()
'name' => __('institution.institutions'),
'url' => $router->url($request, null, 'management', 'settings', 'institutions'),
'isCurrent' => $request->getRequestedPage() === 'management' && in_array('institutions', (array) $request->getRequestedArgs()),
'icon' => 'Institutes'
];
$paymentsIndex = array_search('payments', array_keys($menu));
$menu = array_slice($menu, 0, $paymentsIndex, true) +
Expand Down

0 comments on commit ccfbc50

Please sign in to comment.