Templates cleanup
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('Application settings') ?></h2>
|
||||
</div>
|
||||
<section>
|
||||
<form method="post" action="<?= $this->url->href('config', 'application') ?>" autocomplete="off">
|
||||
|
||||
<?= $this->form->csrf() ?>
|
||||
@@ -23,10 +22,9 @@
|
||||
<?= $this->form->checkbox('password_reset', t('Enable "Forget Password"'), 1, $values['password_reset'] == 1) ?>
|
||||
|
||||
<?= $this->form->label(t('Custom Stylesheet'), 'application_stylesheet') ?>
|
||||
<?= $this->form->textarea('application_stylesheet', $values, $errors) ?><br/>
|
||||
<?= $this->form->textarea('application_stylesheet', $values, $errors) ?>
|
||||
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue">
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
@@ -1,25 +1,23 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('Board settings') ?></h2>
|
||||
</div>
|
||||
<section>
|
||||
<form method="post" action="<?= $this->url->href('config', 'board') ?>" autocomplete="off">
|
||||
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
<?= $this->form->label(t('Task highlight period'), 'board_highlight_period') ?>
|
||||
<?= $this->form->number('board_highlight_period', $values, $errors) ?><br/>
|
||||
<?= $this->form->number('board_highlight_period', $values, $errors) ?>
|
||||
<p class="form-help"><?= t('Period (in second) to consider a task was modified recently (0 to disable, 2 days by default)') ?></p>
|
||||
|
||||
<?= $this->form->label(t('Refresh interval for public board'), 'board_public_refresh_interval') ?>
|
||||
<?= $this->form->number('board_public_refresh_interval', $values, $errors) ?><br/>
|
||||
<?= $this->form->number('board_public_refresh_interval', $values, $errors) ?>
|
||||
<p class="form-help"><?= t('Frequency in second (60 seconds by default)') ?></p>
|
||||
|
||||
<?= $this->form->label(t('Refresh interval for private board'), 'board_private_refresh_interval') ?>
|
||||
<?= $this->form->number('board_private_refresh_interval', $values, $errors) ?><br/>
|
||||
<?= $this->form->number('board_private_refresh_interval', $values, $errors) ?>
|
||||
<p class="form-help"><?= t('Frequency in second (0 to disable this feature, 10 seconds by default)') ?></p>
|
||||
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue">
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
@@ -1,7 +1,6 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('Project settings') ?></h2>
|
||||
</div>
|
||||
<section>
|
||||
<form method="post" action="<?= $this->url->href('config', 'project') ?>" autocomplete="off">
|
||||
|
||||
<?= $this->form->csrf() ?>
|
||||
@@ -10,11 +9,11 @@
|
||||
<?= $this->form->select('default_color', $colors, $values, $errors) ?>
|
||||
|
||||
<?= $this->form->label(t('Default columns for new projects (Comma-separated)'), 'board_columns') ?>
|
||||
<?= $this->form->text('board_columns', $values, $errors) ?><br/>
|
||||
<?= $this->form->text('board_columns', $values, $errors) ?>
|
||||
<p class="form-help"><?= t('Default values are "%s"', $default_columns) ?></p>
|
||||
|
||||
<?= $this->form->label(t('Default categories for new projects (Comma-separated)'), 'project_categories') ?>
|
||||
<?= $this->form->text('project_categories', $values, $errors) ?><br/>
|
||||
<?= $this->form->text('project_categories', $values, $errors) ?>
|
||||
<p class="form-help"><?= t('Example: "Bug, Feature Request, Improvement"') ?></p>
|
||||
|
||||
<?= $this->form->checkbox('subtask_restriction', t('Allow only one subtask in progress at the same time for a user'), 1, $values['subtask_restriction'] == 1) ?>
|
||||
@@ -22,7 +21,6 @@
|
||||
<?= $this->form->checkbox('cfd_include_closed_tasks', t('Include closed tasks in the cumulative flow diagram'), 1, $values['cfd_include_closed_tasks'] == 1) ?>
|
||||
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
||||
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue">
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
Reference in New Issue
Block a user