Skip to content

Commit

Permalink
Merge pull request #214 from tomudding/feature/link-to-member-from-or…
Browse files Browse the repository at this point in the history
…gan-overview

Make member name clickable in organ overview
  • Loading branch information
tomudding authored Oct 2, 2022
2 parents 586c697 + 1878c75 commit e8a7595
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion module/Database/view/database/organ/view.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<ul>
<?php foreach ($foundation->getReferences() as $ref): ?>
<?php if (!($ref instanceof \Database\Model\SubDecision\Installation)) continue; ?>
<li><?= $ref->getMember()->getFullName() ?> als <?= $ref->getFunction() ?></li>
<li>
<a href="<?= $this->url('member/show', ['id' => $ref->getMember()->getLidnr()]) ?>">
<?= $ref->getMember()->getFullName() ?>
</a> als <?= $ref->getFunction() ?>
</li>
<?php endforeach; ?>
</ul>

0 comments on commit e8a7595

Please sign in to comment.