Skip to content
Snippets Groups Projects
Commit e633a2f9 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

Biest 1780

Closes #1780

Merge request studip/studip!1162
parent e922f908
No related branches found
No related tags found
No related merge requests found
<? foreach ($materialien as $material) : ?>
<?= $this->render_partial("oer/market/_material_short.php", compact("material", "plugin")) ?>
<?= $this->render_partial('oer/market/_material_short.php', compact('material')) ?>
<? endforeach ?>
......@@ -35,11 +35,11 @@ if ($materialien !== null) {
</form>
<? if ($new_ones) : ?>
<? if (!empty($new_ones)) : ?>
<div id="new_ones">
<h2><?= _('Neuste Materialien') ?></h2>
<ul class="oer_material_overview">
<?= $this->render_partial("oer/market/_materials.php", ['materialien' => $new_ones]) ?>
<?= $this->render_partial('oer/market/_materials.php', ['materialien' => $new_ones]) ?>
</ul>
</div>
<? endif ?>
......
<? if ($materialien) : ?>
<? if (!empty($materialien)) : ?>
<ul class="oer_material_overview mainlist">
<?= $this->render_partial("oer/market/_materials.php", compact("material", "plugin")) ?>
<?= $this->render_partial('oer/market/_materials.php', compact('materialien')) ?>
</ul>
<? else : ?>
<?= MessageBox::info(_('Keine Materialien gefunden')) ?>
......
<? if ($materialien) : ?>
<? if (!empty($materialien)) : ?>
<ul class="oer_material_overview mainlist">
<?= $this->render_partial("oer/market/_materials.php", compact("material", "plugin")) ?>
<?= $this->render_partial('oer/market/_materials.php', compact('materialien')) ?>
</ul>
<? else : ?>
<?= MessageBox::info(_('Keine Materialien gefunden')) ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment