fix so that webdb_lastchange appears in contentlist.template as it should
authormh <mh>
Fri, 28 Jun 2002 22:56:37 +0000 (22:56 +0000)
committermh <mh>
Fri, 28 Jun 2002 22:56:37 +0000 (22:56 +0000)
source/mir/entity/Entity.java
templates-dist/admin/contentlist.template

index af81a90..b434b77 100755 (executable)
@@ -20,10 +20,13 @@ import mir.misc.*;
  * Base Class of Entities
  * Interfacing TemplateHashModel and TemplateModelRoot to be freemarker compliant
  *
- * @version $Revision: 1.7 $ $Date: 2002/06/28 20:35:38 $
+ * @version $Revision: 1.8 $ $Date: 2002/06/28 22:56:37 $
  * @author $Author: mh $
  *
  * $Log: Entity.java,v $
+ * Revision 1.8  2002/06/28 22:56:37  mh
+ * fix so that webdb_lastchange appears in contentlist.template as it should
+ *
  * Revision 1.7  2002/06/28 20:35:38  mh
  * use some cvs macros/id's
  *
@@ -128,7 +131,7 @@ public class Entity implements TemplateHashModel, TemplateModelRoot
       }
       else if (field.equals("webdb_lastchange_formatted"))
       {
-        if (hasValueForField("webdblast_change"))
+        if (hasValueForField("webdb_lastchange"))
           returnValue=StringUtil.dateToReadableDate(getValue("webdb_lastchange"));
       }
       else if (field.equals("webdb_create_dc"))
index ad33e6c..b530f92 100755 (executable)
@@ -25,7 +25,7 @@
          <tr <if grey=="1"><assign grey="0">bgcolor="#dddddd" <else><assign grey="1"></if>>
            <td><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">
                        ${entry.webdb_create_formatted}<br>
-                       <if entry.webdb_lastchange_formatted>${entry.webdb_lastchange_formatted}<else>-</if><br>
+                       <if entry.webdb_lastchange>${entry.webdb_lastchange_formatted}<else>-</if><br>
                        <if entry.is_published!="0">F<else>-</if>
                        <if entry.is_html!="0">H<else>-</if>
                        </font></td>