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

[dw-nonfree] Option to Choose Placement of Metadata

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

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

Option to place metadata before or after entry text. (Will be found in
http://www.dreamwidth.org/customize/options). Some CSS tweaks to make the
metadata look good in both positions.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/sundaymorning/layout.s2
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r c2c4d0dcd81f -r ace8fe3ae014 bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2	Mon May 17 01:37:33 2010 +0000
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2	Mon May 17 04:49:08 2010 +0000
@@ -20,7 +20,8 @@ propgroup presentation {
     property use layout_type;
     property use sidebar_width;
     property use tags_page_type;
-    property use userpics_position; 
+    property use userpics_position;
+    property use entry_metadata_position;
     property use use_custom_friend_colors;
     property use use_shared_pic;
 }
@@ -624,6 +625,9 @@ q { font-style: italic;
     padding: 0 5px;
 }
 
+.entry .metadata.top-metadata {
+    padding-top: 10px;
+}
 .entry .metadata ul {
     margin: 0px;
     padding: 0px;
diff -r c2c4d0dcd81f -r ace8fe3ae014 bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Mon May 17 01:37:33 2010 +0000
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Mon May 17 04:49:08 2010 +0000
@@ -30,6 +30,7 @@ propgroup presentation {
 
     property use tags_page_type;
     property use userpics_position;
+    property use entry_metadata_position;
     property use use_custom_friend_colors;
     property use use_shared_pic;
 }
@@ -715,6 +716,9 @@ function Page::print_default_stylesheet 
         padding: 0 5px;
     }
 
+    .entry .metadata.top-metadata {
+        padding-top: 10px;
+    }
     .entry .metadata ul {
         margin: 0;
         padding: 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