summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-24 18:08:58 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-24 18:08:58 -0500
commit64e2e072294563b7c834382c2de631687f235fe8 (patch)
treecdfc0e7ae9b72e2d6166376a8c757a0325152c30 /templates
parente374a6fd6499b50d4587d136490ced7444f8bc2b (diff)
Improve timezone pull-request and settings page
Diffstat (limited to 'templates')
-rw-r--r--templates/config_index.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/config_index.php b/templates/config_index.php
index 6e55e4f2..5012538a 100644
--- a/templates/config_index.php
+++ b/templates/config_index.php
@@ -10,11 +10,9 @@
<?= Helper\form_label(t('Language'), 'language') ?>
<?= Helper\form_select('language', $languages, $values, $errors) ?><br/>
- <?= Helper\form_label(t('Webhooks token'), 'webhooks_token') ?>
- <?= Helper\form_text('webhooks_token', $values, $errors, array('readonly')) ?><br/>
-
<?= Helper\form_label(t('Timezone'), 'timezone') ?>
<?= Helper\form_select('timezone', $timezones, $values, $errors) ?><br/>
+
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
</div>
@@ -25,6 +23,10 @@
</div>
<section class="settings">
<ul>
+ <li>
+ <?= t('Webhooks token:') ?>
+ <strong><?= Helper\escape($values['webhooks_token']) ?></strong>
+ </li>
<li><?= t('Database size:') ?> <strong><?= Helper\format_bytes($db_size) ?></strong></li>
<li>
<a href="?controller=config&amp;action=downloadDb"><?= t('Download the database') ?></a>