Skip to content

Commit

Permalink
Remove title from general config
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 30, 2015
1 parent d31983b commit f960874
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
7 changes: 3 additions & 4 deletions application/forms/Config/GeneralConfigForm.php
Expand Up @@ -3,10 +3,10 @@

namespace Icinga\Forms\Config;

use Icinga\Web\Notification;
use Icinga\Forms\ConfigForm;
use Icinga\Forms\Config\General\LoggingConfigForm;
use Icinga\Forms\Config\General\ApplicationConfigForm;
use Icinga\Forms\Config\General\LoggingConfigForm;
use Icinga\Forms\ConfigForm;
use Icinga\Web\Notification;

/**
* Form class for application-wide and logging specific settings
Expand All @@ -20,7 +20,6 @@ public function init()
{
$this->setName('form_config_general');
$this->setSubmitLabel($this->translate('Save Changes'));
$this->setTitle($this->translate('General Configuration'));
}

/**
Expand Down
9 changes: 3 additions & 6 deletions application/views/scripts/config/general.phtml
@@ -1,9 +1,6 @@
<div class="controls" data-base-target="_main">
<?= $this->tabs->render($this); ?>
<div class="controls">
<?= $tabs ?>
</div>
<div class="content">
<?php if (isset($this->messageBox)): ?>
<?= $this->messageBox->render() ?>
<?php endif ?>
<?= $this->form ?>
<?= $form ?>
</div>

0 comments on commit f960874

Please sign in to comment.