Update description if no dashlets available

refs #6639
This commit is contained in:
Alexander Fuhr 2014-08-22 15:39:35 +02:00
parent b60c3590b0
commit 11127446e0

View File

@ -7,16 +7,10 @@
</div> </div>
<?php else: ?> <?php else: ?>
<div class="content"> <div class="content">
<h1>No dashboard configuration found!</h1> <h1><?= $this->escape($this->translate('Welcome to Icinga Web!')) ?></h1>
<p> <p><?= sprintf(
<?= $this->escape($this->translate('Currently there is no dashlet available. This might change once you enabled some of the available %s.')),
$this->translate('We tried to load a dashboard configuration with no success.' $this->qlink($this->translate('modules'), 'config/modules')
. ' Please have look that the configuration does exist:'); ) ?></p>
?>
<code>
<?= $this->escape($this->configPath) ?>.ini
</code>
</p>
</div> </div>
<?php endif; ?> <?php endif ?>