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

clr 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 71e3c04  LDAP-namecheck print header each 30 rows
71e3c04 is described below

commit 71e3c04745264cecd6e6b161dd4b9217a3b80031
Author: Craig L Russell <apache....@gmail.com>
AuthorDate: Mon Jul 12 16:39:11 2021 -0700

    LDAP-namecheck print header each 30 rows
---
 www/members/ldap-namecheck.cgi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/members/ldap-namecheck.cgi b/www/members/ldap-namecheck.cgi
index 5b60a8e..9442ed5 100755
--- a/www/members/ldap-namecheck.cgi
+++ b/www/members/ldap-namecheck.cgi
@@ -97,9 +97,9 @@ _html do
         next
       end
 
-      if 0 == ((++mismatches) % 30) # repeat header every 30 lines
-        _tr do
-          _td 'uid'
+      if 0 == ++mismatches % 30 # repeat header every 30 lines
+        _tr bgcolor: 'lightblue' do
+          _td 'uid' + mismatches
           _td "iclas.txt public name"
           _td 'cn'
           _td 'givenName'

Reply via email to