afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-04-08 12:06 pm

[dw-free] OpenID's internal ext_ username shows on circle add button.

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

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

Use display name for OpenID and other journals on /manage/circle/add add
button

Patch by [personal profile] phoenix.

Files modified:
  • htdocs/manage/circle/add.bml
--------------------------------------------------------------------------------
diff -r 533ed01e93c4 -r 4a7bcaa21555 htdocs/manage/circle/add.bml
--- a/htdocs/manage/circle/add.bml	Wed Apr 08 11:00:44 2009 +0000
+++ b/htdocs/manage/circle/add.bml	Wed Apr 08 12:06:22 2009 +0000
@@ -429,7 +429,7 @@
    $body .= "<br />\n <?p ";
     # Form submit buttons
     if ($u->is_visible) {
-        my $btn = ($watched || $trusted) ? $ML{'.btn.modify'} :  BML::ml( '.btn.add', { user => $user } );
+        my $btn = ( $watched || $trusted ) ? $ML{'.btn.modify'} :  BML::ml( '.btn.add', { user => $u->display_name } );
         $body .= "<input type='submit' value=\"$btn\"> ";
     } else {
         $body .= "<input type='submit' name='action:delete' value=\"$ML{'.btn.remove'}\"> \n";
--------------------------------------------------------------------------------