fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-04-29 08:37 am

[dw-free] add link back to comment & parent on ?replyto=foo in sitescheme

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

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

Move ending of the div to within the if statement.

Patch by [personal profile] fu.

Files modified:
  • htdocs/talkpost.bml
--------------------------------------------------------------------------------
diff -r ad465478da5a -r c8378da9fbb6 htdocs/talkpost.bml
--- a/htdocs/talkpost.bml	Thu Apr 29 01:31:55 2010 -0700
+++ b/htdocs/talkpost.bml	Thu Apr 29 01:42:14 2010 -0700
@@ -387,9 +387,9 @@ body<=
 
         my $thread_url = $parentcomment->url( LJ::viewing_style_args( %GET ) );
         $ret .= " (<a href=". $thread_url . ">" . $ML{'talk.threadlink'} . "</a>)";
+
+        $ret .= "</div>";
     }
-
-    $ret .= "</div>";
 
     $ret .= "<br clear='both' /><hr size='2' align='center' />";
 
--------------------------------------------------------------------------------
yvi: Kaylee half-smiling, looking very pretty (Default)

[personal profile] yvi 2010-04-29 08:44 am (UTC)(link)
Aaah, I actually have that on my 'hack, I just somehow seem to have forgotten to re-make the patch after that.

Thanks!