diff --git a/netbox/templates/inc/table.html b/netbox/templates/inc/table.html index 0c046ff2f..3710af846 100644 --- a/netbox/templates/inc/table.html +++ b/netbox/templates/inc/table.html @@ -24,7 +24,7 @@ {% empty %} {% if table.empty_text %} - {{ table.empty_text }} + — {{ table.empty_text }} — {% endif %} {% endfor %} diff --git a/netbox/utilities/tables.py b/netbox/utilities/tables.py index 579280b64..d4c68c54f 100644 --- a/netbox/utilities/tables.py +++ b/netbox/utilities/tables.py @@ -14,7 +14,7 @@ class BaseTable(tables.Table): # Set default empty_text if none was provided if self.empty_text is None: - self.empty_text = 'No {} found.'.format(self._meta.model._meta.verbose_name_plural) + self.empty_text = 'No {} found'.format(self._meta.model._meta.verbose_name_plural) class Meta: attrs = {