summaryrefslogtreecommitdiff
path: root/app/Template/project/notifications.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-25 22:28:09 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-25 22:28:09 -0400
commitff892c5d25e0bab560f005c788189d38c2bcab7b (patch)
tree72edfcffd52db61f9a7632f860b6d914445593ab /app/Template/project/notifications.php
parent872dc79dbd8b04424520e32675a6e0dcb6ed44bc (diff)
Split project controller into multiple classes
Diffstat (limited to 'app/Template/project/notifications.php')
-rw-r--r--app/Template/project/notifications.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/Template/project/notifications.php b/app/Template/project/notifications.php
deleted file mode 100644
index 494a322a..00000000
--- a/app/Template/project/notifications.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<div class="page-header">
- <h2><?= t('Notifications') ?></h2>
-</div>
-<?php if (empty($types)): ?>
- <p class="alert"><?= t('No plugin has registered a project notification method. You can still configure individual notifications in your user profile.') ?></p>
-<?php else: ?>
- <form method="post" action="<?= $this->url->href('project', 'notifications', array('project_id' => $project['id'])) ?>" autocomplete="off">
-
- <?= $this->form->csrf() ?>
-
- <h4><?= t('Notification methods:') ?></h4>
- <?= $this->form->checkboxes('notification_types', $types, $notifications) ?>
-
- <div class="form-actions">
- <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
- <?= t('or') ?>
- <?= $this->url->link(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?>
- </div>
- </form>
-<?php endif ?> \ No newline at end of file