Commit 3b7ec766 authored by Jim Fulton's avatar Jim Fulton

Added new method to get class meta type.

parent 8745cfba
......@@ -119,9 +119,10 @@ class ZClassBasicSheet(OFS.PropertySheets.PropertySheet,
self, REQUEST,
manage_tabs_message='Basic properties changed')
def classMetaType(self): return self.getClassAttr('meta_type','')
def classIcon(self):
return self.getClassAttr('icon','')
def classIcon(self): return self.getClassAttr('icon','')
class ZClassViewsSheet(OFS.PropertySheets.PropertySheet,
......
......@@ -21,7 +21,7 @@ will need to be adjusted if the class is moved.</p>
<TH ALIGN="LEFT" VALIGN="TOP">meta type</TH>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="meta_type" SIZE="40"
value="<!--#var meta_type-->">
value="<!--#var classMetaType-->">
</TD>
</TR>
<TR>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment