family: remove alternate text from context

This commit is contained in:
Serghei Mihai 2015-09-21 18:33:41 +02:00
parent ca44046fae
commit ebcd1e70eb
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class FamilyInfosCell(CellBase):
return hasattr(settings, 'FAMILY_SERVICE')
def get_cell_extra_context(self):
data = {'alternate_text': self.alternate_text}
data = {}
context = self.context
if context.get('user'):
if context.get('request') and hasattr(context['request'], 'session') and \