template alternating colors
authorrk <rk>
Mon, 1 Apr 2002 20:53:29 +0000 (20:53 +0000)
committerrk <rk>
Mon, 1 Apr 2002 20:53:29 +0000 (20:53 +0000)
source/mircoders/entity/EntityComment.java
templates-dist/admin/commentlist.template
web/admin.css

index b99e30a..97c7599 100755 (executable)
@@ -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 */
index 9f619fc..eb7da33 100755 (executable)
@@ -46,7 +46,7 @@
 <if data.contentlist>
 
   <list data.contentlist as entry>
-  <tr <if grey=="1"><assign grey="0">class="list1"<else><assign grey="1">class="list"</if>>
+  <tr <if grey=="1"><assign grey="0">class="list1"<else><assign grey="1">class="list2"</if>>
 
                <td>${entry.date_formatted}<br>
        <if entry.is_published=="0"><font color="Brown">V</font><else>-</if>
index 31bbea9..0f4a9d9 100755 (executable)
@@ -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;
                }