Пример #1
0
 def get_link_content(self, item):
     """Get link content"""
     return self.link_content or get_name(item)
Пример #2
0
 def get_item_value(self, item):  # pylint: disable=no-self-use
     """Get item value"""
     return get_name(item)
Пример #3
0
 def get_link_content(self, item):
     """Get link content"""
     if self.link_content:
         translate = self.request.localizer.translate
         return translate(self.link_content)
     return get_name(item)
Пример #4
0
 def get_sort_key(self, item):
     """Get item sort key"""
     return get_name(item)
Пример #5
0
 def get_item_value(item):
     """Get item value"""
     return get_name(item)
Пример #6
0
 def render_cell(self, item):
     return html.escape(get_name(item))