fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-12-07 10:03 am

[dw-free] Apply usercontent styling to inbox notifications

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

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

Mark inbox items with the usercontent class, so that some default styling
will be applied

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/Widget/InboxFolder.pm
--------------------------------------------------------------------------------
diff -r 159ec3bdf0e3 -r dfec755980dc cgi-bin/LJ/Widget/InboxFolder.pm
--- a/cgi-bin/LJ/Widget/InboxFolder.pm	Thu Dec 02 02:54:30 2010 +0800
+++ b/cgi-bin/LJ/Widget/InboxFolder.pm	Tue Dec 07 18:03:21 2010 +0800
@@ -196,7 +196,7 @@ sub render_body {
             my $display = $expanded ? "block" : "none";
 
             $content_div = qq {
-                <div class="InboxItem_Content" style="display: $display;">$contents</div>
+                <div class="InboxItem_Content usercontent" style="display: $display;">$contents</div>
                 };
         }
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org