Commit 4fc9b135 authored by Christophe Maudoux's avatar Christophe Maudoux

Add oidc icon and modify modules display order

parent 559d2d7f
......@@ -59,6 +59,11 @@ Copyright: http://www.customicondesign.com
License: CC-BY-NC-ND-3.0
Comment: Downloaded from http://www.iconspedia.com/
Files: lemonldap-ng-portal/site/htdocs/static/common/icons/oidc.png
Copyright: http://www.customicondesign.com
License: CC-BY-NC-ND-3.0
Comment: Downloaded from http://www.iconspedia.com/
Files: lemonldap-ng-portal/site/htdocs/static/common/modules/Twitter.png
Copyright: Paul Schulerr, http://schulerr.deviantart.com
License: CC-3
......
......@@ -19,7 +19,7 @@ has menuModules => (
builder => sub {
my $conf = $_[0]->{conf};
my @res;
foreach (qw(Appslist ChangePassword LoginHistory Logout OidcConsents)) {
foreach (qw(Appslist ChangePassword LoginHistory OidcConsents Logout)) {
my $cond = $conf->{"portalDisplay$_"} // 1;
$_[0]->p->logger->debug("Evaluate condition $cond for module $_");
my $tmp =
......
......@@ -53,8 +53,7 @@
</TMPL_IF>
<TMPL_IF NAME="OidcConsents">
<li><a href="#oidcConsents"><span>
<!-- TODO: change logo -->
<img src="<TMPL_VAR NAME="STATIC_PREFIX">common/icons/calendar.png" width="16" height="16" alt="login history" />
<img src="<TMPL_VAR NAME="STATIC_PREFIX">common/icons/oidc.png" width="16" height="16" alt="login history" />
<span trspan="oidcConsents">OIDC Consent</span>
</span></a></li>
</TMPL_IF>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment