Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
This commit is contained in:
parent
f0234fa318
commit
c0d303c19d
1 changed files with 6 additions and 0 deletions
|
|
@ -37,5 +37,11 @@ if (empty($context) || !is_object($context)) {
|
|||
<?php print '<a class="home-links-card__link" href="' . $context->getControllerUrl('invoicelist') . '" title="' . $langs->trans('WebPortalInvoiceListDesc') . '">' . $langs->trans('WebPortalInvoiceListTitle') . '</a>'; ?>
|
||||
</article>
|
||||
<?php endif; ?>
|
||||
<?php if (isModEnabled('member') && in_array(getDolGlobalString('WEBPORTAL_MEMBER_CARD_ACCESS'), ['visible', 'edit']) && $context->logged_member && $context->logged_member->id > 0) : ?>
|
||||
<article class="home-links-card --membercard">
|
||||
<div class="home-links-card__icon" ></div>
|
||||
<?php print '<a class="home-links-card__link" href="' . $context->getControllerUrl('membercard') . '" title="' . $langs->trans('WebPortalMemberCardMenu') . '">' . $langs->trans('WebPortalMemberCardMenu') . '</a>'; ?>
|
||||
</article>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in a new issue