看板初始化提交
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<html>
|
||||
<body>
|
||||
<h2><?= t('Overdue tasks for the project(s) "%s"', $project_name) ?></h2>
|
||||
|
||||
<table style="font-size: .8em; table-layout: fixed; width: 100%; border-collapse: collapse; border-spacing: 0; margin-bottom: 20px;" cellpadding=5 cellspacing=1>
|
||||
<tr style="background: #fbfbfb; text-align: left; padding-top: .5em; padding-bottom: .5em; padding-left: 3px; padding-right: 3px;">
|
||||
<th style="border: 1px solid #eee;"><?= t('Id') ?></th>
|
||||
<th style="border: 1px solid #eee;"><?= t('Title') ?></th>
|
||||
<th style="border: 1px solid #eee;"><?= t('Due date') ?></th>
|
||||
<th style="border: 1px solid #eee;"><?= t('Project') ?></th>
|
||||
<th style="border: 1px solid #eee;"><?= t('Assignee') ?></th>
|
||||
</tr>
|
||||
|
||||
<?php foreach ($tasks as $task): ?>
|
||||
<tr style="overflow: hidden; background: #fff; text-align: left; padding-top: .5em; padding-bottom: .5em; padding-left: 3px; padding-right: 3px;">
|
||||
<td style="border: 1px solid #eee;">#<?= $task['id'] ?></td>
|
||||
<td style="border: 1px solid #eee;">
|
||||
<?php if ($this->app->config('application_url') !== ''): ?>
|
||||
<?= $this->url->absoluteLink($this->text->e($task['title']), 'TaskViewController', 'show', array('task_id' => $task['id'])) ?>
|
||||
<?php else: ?>
|
||||
<?= $this->text->e($task['title']) ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
<td style="border: 1px solid #eee;"><?= $this->dt->datetime($task['date_due']) ?></td>
|
||||
<td style="border: 1px solid #eee;">
|
||||
<?php if ($this->app->config('application_url') !== ''): ?>
|
||||
<?= $this->url->absoluteLink($this->text->e($task['project_name']), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?>
|
||||
<?php else: ?>
|
||||
<?= $this->text->e($task['project_name']) ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
<td style="border: 1px solid #eee;">
|
||||
<?php if (! empty($task['assignee_username'])): ?>
|
||||
<?= $this->text->e($task['assignee_name'] ?: $task['assignee_username']) ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user