Add the missing name in confirm delete modal

Closes-bug: #1793874

Change-Id: Ia4e0dbc4035fcd30a5c6455fa0307004d1e574d3
This commit is contained in:
Qian Min Chen 2018-07-09 21:36:58 +08:00 committed by ziyu
parent 91b85be715
commit 0aa562ae82
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ class ServicesTable(tables.DataTable):
def get_object_id(self, datum):
return datum['id']
def get_object_display(self, datum):
return datum['name']
class Meta(object):
name = "services"
verbose_name = _("Services")