Beispiel #1
0
 def render(self):
     return xhtml_compress(self._render())
Beispiel #2
0
 def render(self):
     """ Render
     """
     return xhtml_compress(self._template())
 def cached_viewlet(self):
     return xhtml_compress(self._template())
 def render(self):
     """
     Render the My groups portlet
     """
     return xhtml_compress(self._template())
 def render(self):
     return xhtml_compress(self._template(self.context))
Beispiel #6
0
 def render(self):
     return xhtml_compress(self._template())
 def render(self):
     """Provides the HTML of the portlet
     This method MUST be provided from any portlet
     """
     LOG("Rendering the author portlet")
     return xhtml_compress(self._template())
Beispiel #8
0
 def render(self):
     try:
         return xhtml_compress(self._template())
     except AttributeError, e:
         log.error(e.__str__())
         return 'There was an error while rendering this portlet.'
 def render(self):
     if self.available:
         return xhtml_compress(self._template())
     else:
         return ''
 def recurse(self, children=[], level=None, bottomLevel=0, firstItem='', lastItem='', childs=''):
     if getFSVersionTuple()[0] == 4:
         return xhtml_compress(self._recurse_old(children=children, level=level, bottomLevel=bottomLevel, firstItem=firstItem, lastItem=lastItem, childs=childs, include_top=self.include_top()))
     return xhtml_compress(self._recurse_p5(children=children, level=level, bottomLevel=bottomLevel, firstItem=firstItem, lastItem=lastItem, childs=childs, include_top=self.include_top()))
 def render(self):
     return xhtml_compress(self.index())
 def render(self):
     if getFSVersionTuple()[0] == 4:
         return xhtml_compress(self._template_old())
     return xhtml_compress(self._template_p5())
 def __call__(self):
     if self.request.get('navtreepath', None):
         level = int(self.request.get('navtreelevel', 0)) + 1
         navtreepath = self.request.get('navtreepath', None)
         return xhtml_compress(self._contenttemplate(navtreepath=navtreepath, level=level))
     return None
Beispiel #14
0
 def render(self):
     """ Render
     """
     return xhtml_compress(self._template())
Beispiel #15
0
 def render(self):
     self._clean_session()
     return xhtml_compress(self._template())
Beispiel #16
0
 def render(self):
     try:
         return xhtml_compress(self._template())
     except AttributeError, e:
         log.error(e.__str__())
         return 'There was an error while rendering this portlet.'
Beispiel #17
0
 def cached_viewlet(self):
     return xhtml_compress(self._template())
 def __call__(self, *args, **kwargs):
     self.update()
     return xhtml_compress(self._template())
Beispiel #19
0
 def render(self):
     if self.is_agenda():
         return xhtml_compress(self._agenda_template())
     else:
         return xhtml_compress(self._template())
Beispiel #20
0
 def render(self):
     if self.is_agenda():
         return xhtml_compress(self._agenda_template())
     else:
         return xhtml_compress(self._template())
Beispiel #21
0
 def render(self):
     if self.enable_caching:
         return self.cached_render()
     else:
         return xhtml_compress(self._template())
 def __call__(self):
     return xhtml_compress(self._template())
 def render(self):
     return xhtml_compress(self._template())
Beispiel #24
0
 def render(self):
     if self.available:
         return xhtml_compress(self._template())
     else:
         return ''