Use proper alternating color for sticky entries.
Patch by afuna.
diffs (12 lines):
diff -r f77c960a16ab -r cbd9cd34e06c bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2 Sun Dec 13 10:12:42 2009 +0000
+++ b/bin/upgrading/s2layers/core2.s2 Sun Dec 13 10:14:41 2009 +0000
@@ -4134,7 +4134,7 @@ function Entry::print_wrapper_start() {
#additional classes for sticky entries added
if ($this isa StickyEntry) {
- """<div class="sticky-entry-wrapper entry-wrapper entry-wrapper-even
security-$security restrictions-$adult_content_level $journal_type $poster
$journal $userpic" id="sticky-entry-wrapper-$this.itemid">\n""";
+ """<div class="sticky-entry-wrapper entry-wrapper $alternate
security-$security restrictions-$adult_content_level $journal_type $poster
$journal $userpic" id="sticky-entry-wrapper-$this.itemid">\n""";
"""<div class="separator separator-before"><div
class="inner"></div></div>\n""";
"""<div class="sticky-entry entry"
id="sticky-entry-$this.itemid">\n""";
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog