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

[dw-free] Abstractia: add .inner class to .header

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

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

Add .inner class to .header in Abstractia -- for easier CSS styling for
certain effects. Matches other TR-based styles.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/abstractia/layout.s2
--------------------------------------------------------------------------------
diff -r 941f7371eed0 -r ed455cf3fce9 bin/upgrading/s2layers/abstractia/layout.s2
--- a/bin/upgrading/s2layers/abstractia/layout.s2	Thu Apr 19 10:08:12 2012 +0800
+++ b/bin/upgrading/s2layers/abstractia/layout.s2	Thu Apr 19 10:17:05 2012 +0800
@@ -405,11 +405,13 @@
     ## For most styles, this will be overridden by FriendsPage::print_entry and such.
     $e->print_wrapper_start();
     """<div class="header">\n""";
+    """<div class="inner">\n""";
     $e->print_subject();
     $e->print_metatypes();
     $e->print_time();
     if ($*entry_poster_position == "header") { $e->print_poster(); }
     """</div>\n""";
+    """</div>\n""";
     """<div>\n""";
     """<div class="contents">\n""";
     """<div class="inner">\n""";
@@ -440,11 +442,13 @@
 
     $c->print_wrapper_start();
     """<div class="header">\n""";
+    """<div class="inner">\n""";
     $c->print_subject();
     $c->print_metatypes();
     $c->print_time();
     if ($*entry_poster_position == "header") { $c->print_poster(); }
     """</div>\n""";
+    """</div>\n""";
     """<div class="contents">\n""";
     """<div class="inner">\n""";
     """<div class="poster-information">\n""";
@@ -471,11 +475,13 @@
 
     $c->print_wrapper_start();
     """<div class="header">\n""";
+    """<div class="inner">\n""";
     $c->print_subject();
     $c->print_metatypes();
     $c->print_time();
     if ($*entry_poster_position == "header") { $c->print_poster(); }
     """</div>\n""";
+    """</div>\n""";
     """<div class="contents">\n""";
     """<div class="inner">\n""";
     if ($*entry_poster_position == "top") { $c->print_poster(); }
@@ -492,7 +498,7 @@
         """<span class="multiform-checkbox">""";
         print safe " <label for='ljcomsel_$c.talkid'>$*text_multiform_check</label> ";
         $c->print_multiform_check();
-	"</span>";
+    "</span>";
     }
     $c->print_management_links();
     $c->print_interaction_links();
--------------------------------------------------------------------------------

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