Skip to content

Commit

Permalink
Update description if no dashlets available
Browse files Browse the repository at this point in the history
refs #6639
  • Loading branch information
Alexander Fuhr committed Aug 26, 2014
1 parent b60c359 commit 1112744
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions application/views/scripts/dashboard/index.phtml
Expand Up @@ -7,16 +7,10 @@
</div>
<?php else: ?>
<div class="content">
<h1>No dashboard configuration found!</h1>
<p>
<?=
$this->translate('We tried to load a dashboard configuration with no success.'
. ' Please have look that the configuration does exist:');
?>

<code>
<?= $this->escape($this->configPath) ?>.ini
</code>
</p>
<h1><?= $this->escape($this->translate('Welcome to Icinga Web!')) ?></h1>
<p><?= sprintf(
$this->escape($this->translate('Currently there is no dashlet available. This might change once you enabled some of the available %s.')),
$this->qlink($this->translate('modules'), 'config/modules')
) ?></p>
</div>
<?php endif; ?>
<?php endif ?>

0 comments on commit 1112744

Please sign in to comment.