<h3><?=_Welcome back, ${username}!?></h3>
<h4><?=_Subscriber information?></h4>
+
+<? if($certlogininfo) { ?>
+ <? if($certlogin) { ?>
+ <div class="card card-body bg-light">
+ <p><?=_You are authenticated via certificate, so you will be able to perform all actions.?></p>
+ </div>
+ <? } else { ?>
+ <div class="alert alert-warning" role="alert">
+ <p><?=_For some actions, e.g. add verification, support, you need to be authenticated via certificate.?></p>
+ </div>
+ <? } ?>
+<? } ?>
+<? if($catsinfo) { ?>
+ <div class="alert alert-warning" role="alert">
+ <? if($catsra) { ?>
+ <p><?=_To add a verification you need to pass the RA Agent Challenge.?></p>
+ <? } ?>
+ </div>
+<? } ?>
<div class="card card-body bg-light">
<? if($ra-agent) { ?><p><?=_You are an RA Agent.?></p><? } ?>
<p><?=_Assigned support permissions?>: <?=$support-groups?></p>
<li><?=$orgName?></li>
<? } ?>
</ul>
- <p><?=_!'<a href="/account/details">'change to organisation administrator context!'</a>'?></p>
+ <? if($certlogin) { ?><p><?=_!'<a href="/account/details">'change to organisation administrator context.'</a>'?><? } else { ?><p class="alert alert-warning"><?=_You need to be logged in via certificate to get access to the organisations.?><? } ?></p>
</div>
<? } ?>