1<?php $this->extends('layout.php', ['title' => 'Quick fix descriptions']) ?>
2
3<?php $this->start('content') ?>
4
5<table border="1" cellpadding="3" cellspacing="1">
6<?php foreach ($reasons as $key => $reason): ?>
7    <?php if (!empty($reason['package_name'])): ?>
8        <?php $reason['title'] = $reason['title'].' ('.$reason['package_name'].')'; ?>
9    <?php endif ?>
10
11    <tr>
12        <td><?= $this->e($reason['title']) ?></td>
13        <td>Status: <?= $this->e($reason['status']) ?></td>
14        <td><pre><?= $this->e($reason['message']) ?></pre></td>
15    </tr>
16
17    <?php if (isset($variations[$key])): ?>
18        <?php foreach ($variations[$key] as $type => $variation): ?>
19            <tr>
20                <td><?= $this->e($reason['title']) ?> (<?= $this->e($type) ?>)</td>
21                <td>Status: <?= $this->e($reason['status']) ?></td>
22                <td><pre><?= $this->e($variation) ?></pre></td>
23            </tr>
24        <?php endforeach ?>
25    <?php endif ?>
26<?php endforeach ?>
27</table>
28
29<?php $this->end('content') ?>
30