Indent module config overview w/ 4 spaces

This commit is contained in:
Eric Lippmann 2015-11-03 12:30:51 +01:00
parent b6b4d5dca2
commit 031c5af9fd

View File

@ -1,40 +1,43 @@
<?php if (! $this->compact): ?> <?php if (! $this->compact): ?>
<div class="controls separated"> <div class="controls separated">
<?= $this->tabs ?> <?= $this->tabs ?>
<div class="grid"> <div class="grid">
<?= $this->limiter ?> <?= $this->limiter ?>
<?= $this->paginator ?> <?= $this->paginator ?>
</div> </div>
</div> </div>
<?php endif ?> <?php endif ?>
<div class="content"> <div class="content">
<table class="action-table listing-table" data-base-target="_next"> <table class="action-table listing-table" data-base-target="_next">
<thead> <thead>
<tr> <tr>
<th><?= $this->translate('Module') ?></th> <th><?= $this->translate('Module') ?></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<?php foreach ($modules as $module): ?> <?php foreach ($modules as $module): ?>
<tr> <tr>
<td> <td>
<?php if ($module->enabled && $module->loaded) { <?php if ($module->enabled && $module->loaded) {
echo $this->icon('thumbs-up', sprintf($this->translate('Module %s is enabled'), $module->name)); echo $this->icon('thumbs-up', sprintf($this->translate('Module %s is enabled'), $module->name));
} elseif (! $module->enabled) { } elseif (! $module->enabled) {
echo $this->icon('block', sprintf($this->translate('Module %s is disabled'), $module->name)); echo $this->icon('block', sprintf($this->translate('Module %s is disabled'), $module->name));
} else { // ! $module->loaded } else { // ! $module->loaded
echo $this->icon('block', sprintf($this->translate('Module %s has failed to load'), $module->name)); echo $this->icon('block', sprintf($this->translate('Module %s has failed to load'), $module->name));
} }
echo $this->qlink( echo $this->qlink(
$module->name, $module->name,
'config/module/', 'config/module/',
array('name' => $module->name), array('name' => $module->name),
array('title' => sprintf($this->translate('Show the overview of the %s module'), $module->name), 'class' => 'rowaction') array(
); ?> 'class' => 'rowaction',
</td> 'title' => sprintf($this->translate('Show the overview of the %s module'), $module->name)
</tr> )
); ?>
</td>
</tr>
<?php endforeach ?> <?php endforeach ?>
</tbody> </tbody>
</table> </table>
</div> </div>