summaryrefslogtreecommitdiff
path: root/app/Template/project
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/project
parent370b5a0fd7c1dba60e3b973506ba087adba42be0 (diff)
Add Postmark integration (inbound emails for task creation)
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/edit.php4
-rw-r--r--app/Template/project/index.php4
2 files changed, 8 insertions, 0 deletions
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']): ?>