mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Indent module config overview w/ 4 spaces
This commit is contained in:
parent
b6b4d5dca2
commit
031c5af9fd
@ -1,40 +1,43 @@
|
||||
<?php if (! $this->compact): ?>
|
||||
<div class="controls separated">
|
||||
<?= $this->tabs ?>
|
||||
<div class="grid">
|
||||
<?= $this->limiter ?>
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<?= $this->tabs ?>
|
||||
<div class="grid">
|
||||
<?= $this->limiter ?>
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<div class="content">
|
||||
<table class="action-table listing-table" data-base-target="_next">
|
||||
<table class="action-table listing-table" data-base-target="_next">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= $this->translate('Module') ?></th>
|
||||
<th><?= $this->translate('Module') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($modules as $module): ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php if ($module->enabled && $module->loaded) {
|
||||
echo $this->icon('thumbs-up', sprintf($this->translate('Module %s is enabled'), $module->name));
|
||||
} elseif (! $module->enabled) {
|
||||
echo $this->icon('block', sprintf($this->translate('Module %s is disabled'), $module->name));
|
||||
} else { // ! $module->loaded
|
||||
echo $this->icon('block', sprintf($this->translate('Module %s has failed to load'), $module->name));
|
||||
}
|
||||
<tr>
|
||||
<td>
|
||||
<?php if ($module->enabled && $module->loaded) {
|
||||
echo $this->icon('thumbs-up', sprintf($this->translate('Module %s is enabled'), $module->name));
|
||||
} elseif (! $module->enabled) {
|
||||
echo $this->icon('block', sprintf($this->translate('Module %s is disabled'), $module->name));
|
||||
} else { // ! $module->loaded
|
||||
echo $this->icon('block', sprintf($this->translate('Module %s has failed to load'), $module->name));
|
||||
}
|
||||
|
||||
echo $this->qlink(
|
||||
$module->name,
|
||||
'config/module/',
|
||||
array('name' => $module->name),
|
||||
array('title' => sprintf($this->translate('Show the overview of the %s module'), $module->name), 'class' => 'rowaction')
|
||||
); ?>
|
||||
</td>
|
||||
</tr>
|
||||
echo $this->qlink(
|
||||
$module->name,
|
||||
'config/module/',
|
||||
array('name' => $module->name),
|
||||
array(
|
||||
'class' => 'rowaction',
|
||||
'title' => sprintf($this->translate('Show the overview of the %s module'), $module->name)
|
||||
)
|
||||
); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user