Skip to content
Snippets Groups Projects
Commit 5c08983d authored by Michaela Brückner's avatar Michaela Brückner :unicorn: Committed by Jan-Hendrik Willms
Browse files

get plugin description in both languages, fixes #4568

Closes #4568

Merge request studip/studip!3382
parent e379233d
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
<input type="checkbox" name="widget_id[]" value="<?= $widget->getPluginId() ?>"> <input type="checkbox" name="widget_id[]" value="<?= $widget->getPluginId() ?>">
<?= htmlReady($widget->getPluginName()) ?> <?= htmlReady($widget->getPluginName()) ?>
</label> </label>
<? if ($metadata['description']): ?> <? if ($widget->getPluginDescription()): ?>
<p><?= formatReady($metadata['description']) ?></p> <p><?= formatReady($widget->getPluginDescription()) ?></p>
<? endif; ?> <? endif; ?>
</li> </li>
<? endforeach; ?> <? endforeach; ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment