inspect/type: render a list, provide links
This commit is contained in:
parent
66b1daa1ba
commit
3c5118ca0a
|
@ -4,9 +4,17 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<pre>
|
<table class="common-table table-row-selectable" data-base-target="_next">
|
||||||
<?= $this->escape(print_r($this->type, 1)) ?>
|
<thead><tr><th><?= $this->translate('Object name') ?></th></tr></thead>
|
||||||
|
<tbody>
|
||||||
<?= $this->escape(print_r($this->objects, 1)) ?>
|
<?php foreach ($this->objects as $object): ?>
|
||||||
</pre>
|
<tr><td><?= $this->qlink(
|
||||||
|
str_replace('!', ': ', $object),
|
||||||
|
'director/inspect/object',
|
||||||
|
array('type' => $this->type->name, 'plural' => $this->type->plural_name, 'name' => $object)
|
||||||
|
) ?></td></tr>
|
||||||
|
<?php endforeach ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<pre><?= $this->escape(print_r($this->type, 1)) ?></pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue