@import org.ada.server.services.ldap.LdapSettings @import com.typesafe.config.ConfigValue @import views.html.table.displayTable @import org.ada.web.util.typeColumns @import org.incal.play.controllers.WebContext._ @import org.incal.play.controllers.WebContext @(settings: LdapSettings)(implicit context: WebContext) @layout.show( "LDAP Settings", displayTable( settings.listAll, typeColumns[(String, Any)]( (None, "Configuration Key", _._1), (None, "Value", { case (key, value) => if (key == "ldap.bindPassword") "Not Shown" else value}) ) ) )