Add title to template list

Makes it easier to read longer template descriptions
This commit is contained in:
Samuel Georges 2017-02-08 05:42:37 +11:00
parent 4ade0d4952
commit cc1a67373c
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
data-id="<?= e($dataId) ?>">
<a href="javascript:;">
<span class="title"><?= e($item->title) ?></span>
<span class="description">
<span class="description" title="<?= e($item->description) ?>">
<?php foreach ($item->descriptions as $title => $value): ?>
<?php if (strlen($value)): ?>
<?= e($title) ?>: <strong><?= e($value) ?></strong>

View File

@ -1,7 +1,7 @@
<div class="layout-absolute">
<div class="control-scrollbar" data-control="scrollbar">
<div class="control-filelist <?= $this->controlClass ?>" data-control="filelist" data-group-status-handler="<?= $this->getEventHandler('onGroupStatusUpdate') ?>" id="<?= $this->getId('template-list') ?>">
<?= $this->makePartial('items', ['items'=>$data]) ?>
<?= $this->makePartial('items', ['items' => $data]) ?>
</div>
</div>
</div>
</div>