Manche Bereiche nur anzeigen, wenn sie Inhalt haben
This commit is contained in:
@@ -102,6 +102,10 @@ $topics = $subjectData->topics;
|
||||
</ul>
|
||||
</div>-->
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if(count($topicData->files) > 0) {
|
||||
?>
|
||||
<div class="download-section bg-gray-100 p-[20px] rounded-[20px]">
|
||||
<h4>Übungen herunterladen:</h4>
|
||||
<div class="download-links">
|
||||
@@ -122,6 +126,10 @@ $topics = $subjectData->topics;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user