mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Further refine projects system
This commit is contained in:
parent
2449de6f6c
commit
5782d6ca7d
20 changed files with 307 additions and 94 deletions
|
@ -14,8 +14,10 @@ $includeStatus = $includeStatus ?? true;
|
|||
<th scope="col">Title</th>
|
||||
<? } ?>
|
||||
<th scope="col">Producer</th>
|
||||
<th scope="col">Manager</th>
|
||||
<th scope="col">Reviewer</th>
|
||||
<th scope="col">Started</th>
|
||||
<th scope="col">Last commit</th>
|
||||
<th scope="col">Last activity</th>
|
||||
<? if($includeStatus){ ?>
|
||||
<th scope="col">Status</th>
|
||||
<? } ?>
|
||||
|
@ -38,14 +40,20 @@ $includeStatus = $includeStatus ?? true;
|
|||
<?= Formatter::EscapeHtml($project->ProducerName) ?>
|
||||
<? } ?>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<?= $project->ManagerUser->Url ?>/projects"><?= Formatter::EscapeHtml($project->ManagerUser->DisplayName) ?></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<?= $project->ReviewerUser->Url ?>/projects"><?= Formatter::EscapeHtml($project->ReviewerUser->DisplayName) ?></a>
|
||||
</td>
|
||||
<td>
|
||||
<?= $project->Started->format(Enums\DateTimeFormat::ShortDate->value) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= $project->LastCommitTimestamp?->format(Enums\DateTimeFormat::ShortDate->value) ?>
|
||||
<?= $project->LastActivityTimestamp->format(Enums\DateTimeFormat::ShortDate->value) ?>
|
||||
</td>
|
||||
<? if($includeStatus){ ?>
|
||||
<td class="status">
|
||||
<td class="status<? if($project->Status == Enums\ProjectStatusType::Stalled){ ?> stalled<? } ?>">
|
||||
<?= ucfirst($project->Status->GetDisplayName()) ?>
|
||||
</td>
|
||||
<? } ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue