mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-01 19:06:16 +01:00
Various fixes for top/dashboard/themes/plugins notifications styling
This commit is contained in:
@@ -843,7 +843,8 @@ class AdminController extends AdminBaseController
|
||||
|
||||
foreach ($notifications as $type => $type_notifications) {
|
||||
if (empty($filter) || in_array($type, $filter_types)) {
|
||||
$notification_data[$type] = $this->grav['twig']->processTemplate('partials/notification-block.html.twig', ['notifications' => $type_notifications]);
|
||||
$twig_template = 'partials/notification-' . $type . '-block.html.twig';
|
||||
$notification_data[$type] = $this->grav['twig']->processTemplate($twig_template, ['notifications' => $type_notifications]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user