From: rk Date: Mon, 1 Apr 2002 20:53:29 +0000 (+0000) Subject: template alternating colors X-Git-Tag: prexmlproducerconfig~161 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=a764158546b790d781ac2194c86c01f11201a40d;p=mir.git template alternating colors --- diff --git a/source/mircoders/entity/EntityComment.java b/source/mircoders/entity/EntityComment.java index b99e30ae..97c75999 100755 --- a/source/mircoders/entity/EntityComment.java +++ b/source/mircoders/entity/EntityComment.java @@ -68,8 +68,8 @@ public class EntityComment extends Entity { if (field.equals("date_formatted")) { - if (hasValueForField("date")) - returnField = StringUtil.webdbDate2readableDate(getValue("date")); + if (hasValueForField("webdb_create")) + returnField = StringUtil.webdbDate2readableDate(getValue("webdb_create")); } else if (field.equals("description_parsed")) { /** @todo the config stuff should be moved to StringUtil */ diff --git a/templates-dist/admin/commentlist.template b/templates-dist/admin/commentlist.template index 9f619fc1..eb7da333 100755 --- a/templates-dist/admin/commentlist.template +++ b/templates-dist/admin/commentlist.template @@ -46,7 +46,7 @@ - class="list1"class="list"> + class="list1"class="list2"> ${entry.date_formatted}
V- diff --git a/web/admin.css b/web/admin.css index 31bbea9f..0f4a9d94 100755 --- a/web/admin.css +++ b/web/admin.css @@ -53,8 +53,8 @@ p.head { margin-bottom:0px; border-style:none;border-width:thick; width:2em; - font-weight: normal; - font-size: 12pt; + font-weight: bold; + font-size: 10pt; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #DDDDDD; } @@ -101,7 +101,7 @@ p.inverse { tr.head { - background-color: #000000; + background-color: Blue; background-position: top left; font-family: Verdana, Arial, Helvetica, sans-serif; }