fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-11-22 09:07 am

[dw-free] OpenID users among the list of users in "Gives access to" unclear

[commit: http://hg.dwscoalition.org/dw-free/rev/a6ff29076fd3]

http://bugs.dwscoalition.org/show_bug.cgi?id=4063

Separate out into another block for clarity, rather than running them all
into one line.

Patch by [personal profile] fu.

Files modified:
  • htdocs/profile.bml
--------------------------------------------------------------------------------
diff -r 5657d65fabba -r a6ff29076fd3 htdocs/profile.bml
--- a/htdocs/profile.bml	Mon Nov 21 22:20:36 2011 +0800
+++ b/htdocs/profile.bml	Tue Nov 22 17:09:40 2011 +0800
@@ -274,7 +274,7 @@
         $ret .= join ', ', @linked_users;
 
         foreach my $site ( sort keys %sites ) {
-            $ret .= ', ' if $ret;
+            $ret .= "<div class='openid-users-block'>";
             $ret .= LJ::img( 'id_openid', '' );
             $ret .= "[$site] ";
 
@@ -288,6 +288,7 @@
             }
 
             $ret .= join ', ', @site_users;
+            $ret .= "</div>";
         }
 
         return $ret;
--------------------------------------------------------------------------------