Skip to content
Snippets Groups Projects
Commit e9cb06e6 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

show name of study group on overview page and hide empty description correctly, fixes #314

parent ffd4b570
No related branches found
No related tags found
Loading
...@@ -4,7 +4,10 @@ ...@@ -4,7 +4,10 @@
</header> </header>
<section> <section>
<dl style="margin: 0"> <dl style="margin: 0">
<? if ($studygroup->description): ?> <dt><?= _('Name der Studiengruppe') ?></dt>
<dd><?= htmlReady($studygroup->name) ?></dd>
<? if ((string) $studygroup->description): ?>
<dt><?= _('Beschreibung') ?></dt> <dt><?= _('Beschreibung') ?></dt>
<dd><?= formatLinks($studygroup->description) ?></dd> <dd><?= formatLinks($studygroup->description) ?></dd>
<? endif; ?> <? endif; ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment