equal
deleted
inserted
replaced
217 self.w(u'<a href="%s" title="%s" class="toolbarButton"><img src="%s" alt="%s"/></a>' % |
217 self.w(u'<a href="%s" title="%s" class="toolbarButton"><img src="%s" alt="%s"/></a>' % |
218 (xml_escape(url), label, iconurl, label)) |
218 (xml_escape(url), label, iconurl, label)) |
219 |
219 |
220 |
220 |
221 |
221 |
|
222 class MetaDataComponent(component.EntityVComponent): |
|
223 id = 'metadata' |
|
224 context = 'navbottom' |
|
225 order = 1 |
|
226 |
|
227 def cell_call(self, row, col, view=None): |
|
228 print 'yhooo', self.rset |
|
229 self.wview('metadata', self.rset, row=row, col=col) |
|
230 |
222 def registration_callback(vreg): |
231 def registration_callback(vreg): |
223 vreg.register_all(globals().values(), __name__, (SeeAlsoVComponent,)) |
232 vreg.register_all(globals().values(), __name__, (SeeAlsoVComponent,)) |
224 if 'see_also' in vreg.schema: |
233 if 'see_also' in vreg.schema: |
225 vreg.register(SeeAlsoVComponent) |
234 vreg.register(SeeAlsoVComponent) |