]> WPIA git - gigi.git/blobdiff - src/club/wpia/gigi/pages/MainPage.templ
add: ensure that for Org Administrator actions certificate login is used
[gigi.git] / src / club / wpia / gigi / pages / MainPage.templ
index 88506f30e1dd54ac7e6acce7a134b9f0e33ad5fc..2b14f704cf011d2f73e48a48e82eaf379587fd38 100644 (file)
@@ -86,7 +86,7 @@
   <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>
 <? } ?>