diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-19 18:27:57 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-19 18:27:57 -0500 |
commit | a43f71dda953ab1ca130af875b221569e4767f05 (patch) | |
tree | 33d6f7e650110bbdc5e7bf415b3f5da7735e74d6 /app/Template/project_list/project_details.php | |
parent | b5c56d4239c1f4e5c1b7894803c899b595797a26 (diff) |
Redesign project list view
Diffstat (limited to 'app/Template/project_list/project_details.php')
-rw-r--r-- | app/Template/project_list/project_details.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Template/project_list/project_details.php b/app/Template/project_list/project_details.php new file mode 100644 index 00000000..ccd7ba1b --- /dev/null +++ b/app/Template/project_list/project_details.php @@ -0,0 +1,15 @@ +<div class="table-list-details"> + <ul> + <?php if ($project['owner_id'] > 0): ?> + <li><?= $this->text->e($project['owner_name'] ?: $project['owner_username']) ?></li> + <?php endif ?> + + <?php if ($project['start_date']): ?> + <li><?= t('Start Date: %s', $this->dt->date($project['start_date'])) ?></li> + <?php endif ?> + + <?php if ($project['end_date']): ?> + <li><?= t('End Date: %s', $this->dt->date($project['end_date'])) ?></li> + <?php endif ?> + </ul> +</div>
\ No newline at end of file |