This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new c150c482 Link to LDAP account
c150c482 is described below

commit c150c482487904742eef4addce64d4b869c49818
Author: Sebb <[email protected]>
AuthorDate: Tue Mar 19 14:55:07 2024 +0000

    Link to LDAP account
---
 www/secretary/ldap-check-banned.cgi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www/secretary/ldap-check-banned.cgi 
b/www/secretary/ldap-check-banned.cgi
index af1e4a2c..4e7a6459 100755
--- a/www/secretary/ldap-check-banned.cgi
+++ b/www/secretary/ldap-check-banned.cgi
@@ -93,7 +93,10 @@ _html do
       end
       if errs.size > 0 # Found an error
         _tr do
-          _td singleton attrs['uid']
+          uid = singleton attrs['uid'] 
+          _td do
+            _a uid, href: "https://whimsy.apache.org/roster/committer/#{uid}";
+          end
           _td singleton attrs['cn']
           _td singleton(attrs['asf-banned']), class: errs['asf-banned']
           _td singleton(attrs['loginShell']), class: errs['loginShell']

Reply via email to