Pass alternate column classes to the cabinet, index and tags document list views to improve the rendered size of the document panels.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-03 17:44:50 -04:00
parent 2677ece123
commit b4b8d9403c
3 changed files with 7 additions and 4 deletions

View File

@@ -254,6 +254,7 @@ class IndexInstanceNodeView(DocumentListView):
context = super(IndexInstanceNodeView, self).get_extra_context()
context.update(
{
'column_class': 'col-xs-12 col-sm-6 col-md-4 col-lg-3',
'object': self.index_instance_node,
'navigation': mark_safe(
_('Navigation: %s') % node_tree(