]> WPIA git - gigi.git/blobdiff - src/club/wpia/gigi/pages/MainPage.templ
fix: correct link output on dashboard page
[gigi.git] / src / club / wpia / gigi / pages / MainPage.templ
index 52b805b55c555deafe729740baa2e323d5d240cf..690480abe1b64a5a0bf2c820d8174897bb8f52be 100644 (file)
   <? if($catssupport) { ?>
     <p><?=_To act as supporter you need to pass the Support Challenge.?></p>
   <? } ?>
+  <? if($catsorgagent) { ?>
+    <p><?=_To act as Organisation Agent you need to pass the Organisation Agent Challenge.?></p>
+  <? } ?>
+  <? if($catsttpagent) { ?>
+    <p><?=_To act as TTP Agent you need to pass the TTP RA Agent Challenge.?></p>
+  <? } ?>
+  <? if($catsorgadmin) { ?>
+    <p><?=_To act as Organisation Administrator you need to pass the Organisation Administrator Challenge.?></p>
+  <? } ?>
   </div>
 <? } ?>
 <div class="card card-body bg-light">
   <li><?=$orgName?></li>
  <? } ?>
  </ul>
- <? 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>
+ <? 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>
 <? } ?>