Move event and notification templates to a subfolder
This commit is contained in:
7
app/Template/event/comment_create.php
Normal file
7
app/Template/event/comment_create.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s commented the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<div class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em><br/>
|
||||
<div class="markdown"><?= Helper\markdown($comment['comment']) ?></div>
|
||||
</div>
|
||||
6
app/Template/event/comment_update.php
Normal file
6
app/Template/event/comment_update.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated a comment on the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<div class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em><br/>
|
||||
</div>
|
||||
19
app/Template/event/subtask_create.php
Normal file
19
app/Template/event/subtask_create.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s created a subtask for the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<div class="activity-description">
|
||||
<p><em><?= Helper\escape($task['title']) ?></em></p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<?= Helper\escape($subtask['title']) ?> (<strong><?= Helper\escape($subtask['status_name']) ?></strong>)
|
||||
</li>
|
||||
<li>
|
||||
<?php if ($subtask['username']): ?>
|
||||
<?= t('Assigned to %s with an estimate of %s/%sh', $subtask['name'] ?: $subtask['username'], $subtask['time_spent'], $subtask['time_estimated']) ?>
|
||||
<?php else: ?>
|
||||
<?= t('Not assigned, estimate of %sh', $subtask['time_estimated']) ?>
|
||||
<?php endif ?>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
19
app/Template/event/subtask_update.php
Normal file
19
app/Template/event/subtask_update.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated a subtask for the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<div class="activity-description">
|
||||
<p><em><?= Helper\escape($task['title']) ?></em></p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<?= Helper\escape($subtask['title']) ?> (<strong><?= Helper\escape($subtask['status_name']) ?></strong>)
|
||||
</li>
|
||||
<li>
|
||||
<?php if ($subtask['username']): ?>
|
||||
<?= t('Assigned to %s with an estimate of %s/%sh', $subtask['name'] ?: $subtask['username'], $subtask['time_spent'], $subtask['time_estimated']) ?>
|
||||
<?php else: ?>
|
||||
<?= t('Not assigned, estimate of %sh', $subtask['time_estimated']) ?>
|
||||
<?php endif ?>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
12
app/Template/event/task_assignee_change.php
Normal file
12
app/Template/event/task_assignee_change.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<p class="activity-title">
|
||||
<?= e(
|
||||
'%s change the assignee of the task <a href="?controller=task&action=show&task_id=%d">#%d</a> to %s',
|
||||
Helper\escape($author),
|
||||
$task_id,
|
||||
$task_id,
|
||||
Helper\escape($task['assignee_name'] ?: $task['assignee_username'])
|
||||
) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em>
|
||||
</p>
|
||||
6
app/Template/event/task_close.php
Normal file
6
app/Template/event/task_close.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s closed the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em>
|
||||
</p>
|
||||
6
app/Template/event/task_create.php
Normal file
6
app/Template/event/task_create.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s created the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em>
|
||||
</p>
|
||||
6
app/Template/event/task_move_column.php
Normal file
6
app/Template/event/task_move_column.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s moved the task <a href="?controller=task&action=show&task_id=%d">#%d</a> to the column "%s"', Helper\escape($author), $task_id, $task_id, Helper\escape($task['column_title'])) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em>
|
||||
</p>
|
||||
6
app/Template/event/task_move_position.php
Normal file
6
app/Template/event/task_move_position.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s moved the task <a href="?controller=task&action=show&task_id=%d">#%d</a> to the position #%d in the column "%s"', Helper\escape($author), $task_id, $task_id, $task['position'], Helper\escape($task['column_title'])) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em>
|
||||
</p>
|
||||
6
app/Template/event/task_open.php
Normal file
6
app/Template/event/task_open.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s open the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em>
|
||||
</p>
|
||||
6
app/Template/event/task_update.php
Normal file
6
app/Template/event/task_update.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated the task <a href="?controller=task&action=show&task_id=%d">#%d</a>', Helper\escape($author), $task_id, $task_id) ?>
|
||||
</p>
|
||||
<p class="activity-description">
|
||||
<em><?= Helper\escape($task['title']) ?></em>
|
||||
</p>
|
||||
Reference in New Issue
Block a user