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

Resolve "OER-Campus: Material wird nicht angezeigt"

Closes #2915

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