We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70e851f commit e1b5335Copy full SHA for e1b5335
1 file changed
templates/element/deprecations_panel.php
@@ -23,6 +23,8 @@
23
24
use function Cake\Core\h;
25
26
+$hasAny = count($app) + count($plugins) + count($cake) . count($vendor);
27
+
28
$printer = function ($section, $data) {
29
?>
30
<h3><?= h(ucfirst($section)) ?> </h3>
@@ -39,7 +41,11 @@
39
41
}
40
42
43
<div class="c-deprecations-panel">
- <?php
44
+ <?php if ($hasAny) : ?>
45
+ <p class="c-flash c-flash--info">No deprecations</p>
46
+ <?php
47
+ endif;
48
49
if (count($app)) :
50
$printer('app', $app);
51
endif;
0 commit comments