Skip to content
Snippets Groups Projects
Commit a2ccabd1 authored by Martin Burchell's avatar Martin Burchell
Browse files

Merge branch 'make_view_edit_view_into_tab' of...

Merge branch 'make_view_edit_view_into_tab' of github.com:aptivate/internewshid into make_view_edit_view_into_tab
parents ad95d118 6f6a36d0
No related branches found
No related tags found
1 merge request!26Make view edit view into tab
...@@ -29,6 +29,9 @@ class ItemTable(tables.Table): ...@@ -29,6 +29,9 @@ class ItemTable(tables.Table):
format=settings.SHORT_DATETIME_FORMAT, format=settings.SHORT_DATETIME_FORMAT,
) )
body = tables.Column(verbose_name=_('Message')) body = tables.Column(verbose_name=_('Message'))
network_provider = tables.Column(
verbose_name=_('Network Provider')
)
category = tables.TemplateColumn( category = tables.TemplateColumn(
template_name='hid/categories_column.html', template_name='hid/categories_column.html',
accessor='terms' accessor='terms'
......
...@@ -40,7 +40,7 @@ class TableWidget(object): ...@@ -40,7 +40,7 @@ class TableWidget(object):
items, items,
categories=[], categories=[],
orderable=False, orderable=False,
exclude=('category', 'delete') exclude=('category', 'select_item', 'network_provider')
) )
# And return context # And return context
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment