make community layout clearer
rvr-nextgen/pipeline/pr-master This commit looks good

This commit is contained in:
bence committed 2023-05-01 23:37:30 +02:00
1 parent b5dc96f98b
commit 584fcaba39
10 files changed
+123 -79

No files matched your search

+4 -3
View File
@@ -3,7 +3,10 @@
@section(main)
<div class="gridContainer">
<div>
<h3 class="marginBottom">Communities</h3>
<h3 class="marginBottom">
Communities
<span class="small">[<a href="<?= Container::$routeCollection->getRoute('community-new')->generateLink() ?>">new</a>]</span>
</h3>
<?php if (count($communities) > 0): ?>
<?php foreach ($communities as $community): ?>
<p><a href="<?= Container::$routeCollection->getRoute('community')->generateLink(['communityId' => $community->getId()]) ?>"><?= $community->getName() ?></a></p>
@@ -11,8 +14,6 @@
<?php else: ?>
<p>You have no community.</p>
<?php endif; ?>
<hr>
<p><a href="<?= Container::$routeCollection->getRoute('community-new')->generateLink() ?>">New community</a></p>
</div>
<div>
<h3 class="marginBottom">Upcoming events</h3>