Make it possible to view projects in more detail

This commit is contained in:
2018-08-09 00:44:55 +02:00
parent adab82964d
commit 34668cb0ea
3 changed files with 40 additions and 6 deletions

View File

@@ -90,13 +90,13 @@ $projects = $projectManager->getAll();
$owner = $projectManager->getProjectOwner($project->getID());
?>
<div class="project-card">
<a class="nostyle" href="info.php?id=<?= $project->getID() ?>"><div class="project-card">
<div class="card-content">
<h4 class="project-title"><?= $project->getName(); ?></h4>
<p><?= implode('<br>',array_slice($project->getDescription(), 0, 2)); ?></p>
</div>
<p class="project-organizer">Organisert av <?= $owner['name']; ?></p>
</div>
</div></a>
<?php } ?>
</div>
<center>