summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Template/comment/create.php5
-rw-r--r--app/Template/comment_mail/create.php2
2 files changed, 6 insertions, 1 deletions
diff --git a/app/Template/comment/create.php b/app/Template/comment/create.php
index 8a421759..0e19ac19 100644
--- a/app/Template/comment/create.php
+++ b/app/Template/comment/create.php
@@ -1,5 +1,10 @@
<div class="page-header">
<h2><?= t('Add a comment') ?></h2>
+ <ul>
+ <li>
+ <?= $this->modal->medium('paper-plane', t('Send by email'), 'CommentMailController', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
+ </li>
+ </ul>
</div>
<form method="post" action="<?= $this->url->href('CommentController', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
diff --git a/app/Template/comment_mail/create.php b/app/Template/comment_mail/create.php
index 57ddeb39..019f8a20 100644
--- a/app/Template/comment_mail/create.php
+++ b/app/Template/comment_mail/create.php
@@ -1,5 +1,5 @@
<div class="page-header">
- <h2><?= t('Create and send comment by email') ?></h2>
+ <h2><?= t('Create and send a comment by email') ?></h2>
</div>
<form method="post" action="<?= $this->url->href('CommentMailController', 'save', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>