fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-07-13 01:49 pm

[dw-free] Circle Gifts page: unsorted usernames in Never Expiring category

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

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

Sort usernames, and add a linebreak.

Patch by [personal profile] ninetydegrees.

Files modified:
  • htdocs/shop/gifts.bml
--------------------------------------------------------------------------------
diff -r bfd5b6097df3 -r 62e6e38fb9d0 htdocs/shop/gifts.bml
--- a/htdocs/shop/gifts.bml	Wed Jul 13 21:46:45 2011 +0800
+++ b/htdocs/shop/gifts.bml	Wed Jul 13 21:48:46 2011 +0800
@@ -67,6 +67,7 @@
     @expired  = sort $display_sort @expired;
     @expiring = sort $display_sort @expiring;
     @paid     = sort $display_sort @paid;
+    @seed     = sort $display_sort @seed;
 
     # and we've got our lists. the only thing left is to format them
     # for human display, so we:
@@ -174,6 +175,7 @@
         $ret .= "<h2>" . LJ::Lang::ml( '.paid.header.other' ) . "</h2>\n";
         $ret .= "<p>" . LJ::Lang::ml( '.paid.other.about' ) . "</p>";
         $ret .= "<ul> " . $paidusers . "</ul>";
+        $ret .= "<br />";
     }
 
     if ( $seedusers ) {
--------------------------------------------------------------------------------