Use the item view for the document pages.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -46,6 +46,7 @@ class DocumentPageListView(SingleObjectListView):
|
|||||||
|
|
||||||
def get_extra_context(self):
|
def get_extra_context(self):
|
||||||
return {
|
return {
|
||||||
|
'list_as_items': True,
|
||||||
'object': self.get_document(),
|
'object': self.get_document(),
|
||||||
'title': _('Pages for document: %s') % self.get_document(),
|
'title': _('Pages for document: %s') % self.get_document(),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user