summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-04-19 14:48:12 -0400
committerFrederic Guillot <fred@kanboard.net>2015-04-19 14:48:12 -0400
commit1891e87d035c235550b5889da585e166cf49502f (patch)
treea6100a70184e635788aaed4071ca968a0fde3088 /app/Template
parent370b5a0fd7c1dba60e3b973506ba087adba42be0 (diff)
Add Postmark integration (inbound emails for task creation)
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/config/integrations.php8
-rw-r--r--app/Template/project/edit.php4
-rw-r--r--app/Template/project/index.php4
3 files changed, 15 insertions, 1 deletions
diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php
index e11b62f8..b7dab2b4 100644
--- a/app/Template/config/integrations.php
+++ b/app/Template/config/integrations.php
@@ -6,7 +6,13 @@
<?= $this->formCsrf() ?>
- <h3><?= t('Gravatar') ?></h3>
+ <h3><img src="assets/img/postmark-icon.png"/>&nbsp;<?= t('Postmark (incoming emails)') ?></h3>
+ <div class="listing">
+ <input type="text" class="auto-select" readonly="readonly" value="<?= $this->getCurrentBaseUrl().$this->u('webhook', 'postmark', array('token' => $values['webhook_token'])) ?>"/><br/>
+ <p class="form-help"><a href="http://kanboard.net/documentation/postmark" target="_blank"><?= t('Help on Postmark integration') ?></a></p>
+ </div>
+
+ <h3><img src="assets/img/gravatar-icon.png"/>&nbsp;<?= t('Gravatar') ?></h3>
<div class="listing">
<?= $this->formCheckbox('integration_gravatar', t('Enable Gravatar images'), 1, $values['integration_gravatar'] == 1) ?>
</div>
diff --git a/app/Template/project/edit.php b/app/Template/project/edit.php
index c1f98315..ffd9be00 100644
--- a/app/Template/project/edit.php
+++ b/app/Template/project/edit.php
@@ -9,6 +9,10 @@
<?= $this->formLabel(t('Name'), 'name') ?>
<?= $this->formText('name', $values, $errors, array('required', 'maxlength="50"')) ?>
+ <?= $this->formLabel(t('Identifier'), 'identifier') ?>
+ <?= $this->formText('identifier', $values, $errors, array('maxlength="50"')) ?>
+ <p class="form-help"><?= t('The project identifier is an optional alphanumeric code used to identify your project.') ?></p>
+
<?= $this->formLabel(t('Description'), 'description') ?>
<div class="form-tabs">
diff --git a/app/Template/project/index.php b/app/Template/project/index.php
index 05a7d955..8d2bc30b 100644
--- a/app/Template/project/index.php
+++ b/app/Template/project/index.php
@@ -15,6 +15,7 @@
<tr>
<th class="column-8"><?= $paginator->order(t('Id'), 'id') ?></th>
<th class="column-8"><?= $paginator->order(t('Status'), 'is_active') ?></th>
+ <th class="column-8"><?= $paginator->order(t('Identifier'), 'identifier') ?></th>
<th class="column-20"><?= $paginator->order(t('Project'), 'name') ?></th>
<th><?= t('Columns') ?></th>
</tr>
@@ -31,6 +32,9 @@
<?php endif ?>
</td>
<td>
+ <?= $this->e($project['identifier']) ?>
+ </td>
+ <td>
<?= $this->a('<i class="fa fa-table"></i>', 'board', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Board')) ?>&nbsp;
<?php if ($project['is_public']): ?>