aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaela Brückner <brueckner@data-quest.de>2024-09-06 11:26:40 +0000
committerMurtaza Sultani <sultani@data-quest.de>2024-09-17 16:42:23 +0200
commit60f3379e1f1a698f85f763aad799d4ad2b6eb45c (patch)
tree9cd1ac93ca4a6e4daf23364f822c20cfa6a7251e
parenta6271a56ab62a5a92ac5f82120e60833ecd4d431 (diff)
get plugin description in both languages, fixes #4568
Closes #4568 Merge request studip/studip!3382
-rw-r--r--app/views/start/add.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/start/add.php b/app/views/start/add.php
index 8b68e05..7f98915 100644
--- a/app/views/start/add.php
+++ b/app/views/start/add.php
@@ -21,8 +21,8 @@
<input type="checkbox" name="widget_id[]" value="<?= $widget->getPluginId() ?>">
<?= htmlReady($widget->getPluginName()) ?>
</label>
- <? if ($metadata['description']): ?>
- <p><?= formatReady($metadata['description']) ?></p>
+ <? if ($widget->getPluginDescription()): ?>
+ <p><?= formatReady($widget->getPluginDescription()) ?></p>
<? endif; ?>
</li>
<? endforeach; ?>