Commit ca03bad0 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

drop person secondary view

parent ecc93cf62698
...@@ -41,18 +41,6 @@ class PersonPrimaryView(primary.PrimaryView): ...@@ -41,18 +41,6 @@ class PersonPrimaryView(primary.PrimaryView):
return entity.view('reledit', rtype='description') return entity.view('reledit', rtype='description')
class PersonSecondaryView(baseviews.SecondaryView):
__select__ = implements('Person')
def cell_call(self, row, col):
entity = self.complete_entity(row, col)
self.w(u' ')
name = xml_escape(entity.name())
self.w(u'<a href="%s">%s</a><br/>%s' % (
xml_escape(entity.absolute_url()), name,
entity.printable_value('description')))
class PersonTextView(baseviews.TextView): class PersonTextView(baseviews.TextView):
__select__ = implements('Person') __select__ = implements('Person')
......
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