@@ -301,15 +301,21 @@ function getOrderedExceptionList(array $value): array
301
301
</table>
302
302
<?php endif ; ?>
303
303
304
- <div class="btn-group" role="group" aria-label="Basic example ">
304
+ <div class="btn-group" role="group" aria-label="Exception context ">
305
305
<button type="button" disabled class="btn btn-sm btn-secondary">Context</button>
306
306
<button type="button" disabled class="btn btn-sm btn-primary"><?= $ value ['environment ' ]['context ' ] ?> </button>
307
307
</div>
308
- <div class="btn-group" role="group" aria-label="Basic example ">
308
+ <div class="btn-group" role="group" aria-label="Exception APP_ENV ">
309
309
<button type="button" disabled class="btn btn-sm btn-secondary">Environment</button>
310
310
<button type="button" disabled class="btn btn-sm btn-primary"><?= $ value ['environment ' ]['env ' ] ?> </button>
311
311
</div>
312
- <div class="btn-group" role="group" aria-label="Basic example">
312
+ <?php if (strtolower ($ value ['environment ' ]['context ' ]) === 'web ' ): ?>
313
+ <div class="btn-group" role="group" aria-label="Exception encountered in Backend">
314
+ <button type="button" disabled class="btn btn-sm btn-secondary">Backend</button>
315
+ <button type="button" disabled class="btn btn-sm btn-primary"><?= $ value ['environment ' ]['backend ' ] ? 'true ' : 'false ' ?> </button>
316
+ </div>
317
+ <?php endif ; ?>
318
+ <div class="btn-group" role="group" aria-label="Exception encountered in unit test">
313
319
<button type="button" disabled class="btn btn-sm btn-secondary">Testing</button>
314
320
<button type="button" disabled class="btn btn-sm btn-primary"><?= $ value ['environment ' ]['testing ' ] ? 'true ' : 'false ' ?> </button>
315
321
</div>
@@ -332,11 +338,11 @@ function getOrderedExceptionList(array $value): array
332
338
<p class="message-log"><?= $ exception ['message ' ] ?> </p>
333
339
334
340
<div>
335
- <div class="btn-group" role="group" aria-label="Basic example ">
341
+ <div class="btn-group" role="group" aria-label="Exception index ">
336
342
<button type="button" disabled class="btn btn-sm btn-secondary">Exception</button>
337
343
<button type="button" disabled class="btn btn-sm btn-primary">#<?= $ index ?> </button>
338
344
</div>
339
- <div class="btn-group" role="group" aria-label="Basic example ">
345
+ <div class="btn-group" role="group" aria-label="Exception code ">
340
346
<button type="button" disabled class="btn btn-sm btn-secondary">Code</button>
341
347
<button type="button" disabled class="btn btn-sm btn-primary"><?= $ exception ['code ' ] ?> </button>
342
348
</div>
0 commit comments