fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-01-25 04:23 am

[dw-nonfree] Helpful text when there are no earlier entries

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/abd8deb306c4]

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

Show the navigation area when we have a message of why there are no entries
in the read page.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r 26b68135eab0 -r abd8deb306c4 bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Mon Jan 24 16:21:00 2011 +0800
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Tue Jan 25 12:22:32 2011 +0800
@@ -855,6 +855,10 @@ function Page::print_default_stylesheet 
         display: none;
         }
 
+    .page-read .navigation.empty {
+        display: block;
+        }
+
     .page-tags #content h2 {
         padding: 0.2em;
         margin: 0;
--------------------------------------------------------------------------------

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