mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
Remove templates/EbookProjects.php
378555d
removed the reference to it in `www/ebook-placeholders/get.php`
This commit is contained in:
parent
dacd2db3b3
commit
eacd7306b0
1 changed files with 0 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
|||
<?
|
||||
/**
|
||||
* @var Ebook $ebook
|
||||
*/
|
||||
|
||||
$showAddButton = $showAddButton ?? false;
|
||||
$showEditButton = $showEditButton ?? false;
|
||||
?>
|
||||
<section id="projects">
|
||||
<h2>Projects</h2>
|
||||
<? if($showAddButton){ ?>
|
||||
<p>
|
||||
<a href="<?= $ebook->Url ?>/projects/new">New project</a>
|
||||
</p>
|
||||
<? } ?>
|
||||
<? if(sizeof($ebook->Projects) > 0){ ?>
|
||||
<?= Template::ProjectsTable(['projects' => $ebook->Projects, 'includeTitle' => false, 'showEditButton' => $showEditButton]) ?>
|
||||
<? } ?>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue