Skip to content
Snippets Groups Projects
Commit 8bdff06f authored by Alice Heaton's avatar Alice Heaton :speech_balloon:
Browse files

Added network_provider column to ItemTable, and ensure it's not displayed in...

Added network_provider column to ItemTable, and ensure it's not displayed in the table widget. Also ensure the widget doesn't display the 'select_item' column, previously named 'delete'.
parent 075b887f
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):
format=settings.SHORT_DATETIME_FORMAT,
)
body = tables.Column(verbose_name=_('Message'))
network_provider = tables.Column(
verbose_name=_('Network Provider')
)
category = tables.TemplateColumn(
template_name='hid/categories_column.html',
accessor='terms'
......
......@@ -40,7 +40,7 @@ class TableWidget(object):
items,
categories=[],
orderable=False,
exclude=('category', 'delete')
exclude=('category', 'select_item', 'network_provider')
)
# 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