mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 22:30:30 -04:00
Allow VCS URLs to be null in projects
This commit is contained in:
parent
d902074285
commit
7a3c7ad503
12 changed files with 94 additions and 36 deletions
|
@ -7,7 +7,7 @@ $includeTitle = $includeTitle ?? true;
|
|||
$includeStatus = $includeStatus ?? true;
|
||||
?>
|
||||
<table class="data-table">
|
||||
<caption aria-hidden="hidden">Scroll right →</caption>
|
||||
<caption aria-hidden="true">Scroll right →</caption>
|
||||
<thead>
|
||||
<tr class="mid-header">
|
||||
<? if($includeTitle){ ?>
|
||||
|
@ -20,8 +20,8 @@ $includeStatus = $includeStatus ?? true;
|
|||
<? if($includeStatus){ ?>
|
||||
<th scope="col">Status</th>
|
||||
<? } ?>
|
||||
<th/>
|
||||
<th/>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -56,7 +56,9 @@ $includeStatus = $includeStatus ?? true;
|
|||
</td>
|
||||
<? } ?>
|
||||
<td>
|
||||
<a href="<?= Formatter::EscapeHtml($project->VcsUrl) ?>">Repository</a>
|
||||
<? if($project->VcsUrl !== null){ ?>
|
||||
<a href="<?= Formatter::EscapeHtml($project->VcsUrl) ?>">Repository</a>
|
||||
<? } ?>
|
||||
</td>
|
||||
<td>
|
||||
<? if($project->DiscussionUrl !== null){ ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue