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 7ef56d5  Not really a warning
7ef56d5 is described below

commit 7ef56d5a6e1340b6ca2b62ce5a0443f245ea4c67
Author: Sebb <[email protected]>
AuthorDate: Wed Feb 9 12:07:22 2022 +0000

    Not really a warning
---
 www/members/archivers.cgi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/members/archivers.cgi b/www/members/archivers.cgi
index 1902d12..eb033b8 100755
--- a/www/members/archivers.cgi
+++ b/www/members/archivers.cgi
@@ -125,7 +125,6 @@ _html do
         mbox = findarcs(arcs, :MBOX, arcleft)
 
         pubprv = mbox[0] # get privacy setting from MBOX entry
-        options[:pubprv] = {class: 'warning'} if pubprv == 'private'
 
         next if pubprv == 'restricted' # Don't show these
 
@@ -169,6 +168,9 @@ _html do
         end
         next unless show_all || needs_attention # only show errors unless want 
all
 
+        # This is not a warning per-se
+        options[:pubprv] = {class: 'warning'} if pubprv == 'private'
+
         _tr do
           _td lid
           _td pubprv, options[:pubprv]

Reply via email to