Skip to content
Snippets Groups Projects
Commit 8569bea9 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

Resolve "OER-Campus: Material wird nicht angezeigt"

Closes #2915

Merge request studip/studip!1969
parent 6f56f684
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,9 @@
<iframe src="<?= htmlReady($url) ?>"
class="lernmarktplatz_player"></iframe>
<? endif ?>
<? elseif ($material->isImage()) : ?>
<img src="<?= htmlReady($url) ?>"
class="lernmarktplatz_player">
<? elseif ($material['front_image_content_type']) : ?>
<div style="background-image: url('<?= htmlReady($material->getLogoURL()) ?>');" class="lernmarktplatz_player image"></div>
<? endif ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment