Converted tag sub template to new subtemplate renderer

This commit is contained in:
Roberto Rosario
2011-04-30 04:47:03 -04:00
parent 52fa716d7b
commit 178eb5949f

View File

@@ -10,8 +10,10 @@ def get_tags_subtemplate(obj):
"""
return {
'name': 'generic_list_subtemplate.html',
'title': _(u'tags'),
'object_list': obj.tags.all(),
'hide_link': True,
'navigation_object_links': [tag_document_remove],
'context': {
'title': _(u'tags'),
'object_list': obj.tags.all(),
'hide_link': True,
'navigation_object_links': [tag_document_remove],
}
}