diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index 21a4f29349..3e6a9ea3b0 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -269,12 +269,19 @@
}
if ((row.available_actions) && (row.available_actions.delete === true)) {
+
+ // use the asset tag if no name is provided
+ var name_for_box = row.name
+ if (row.name=='') {
+ var name_for_box = row.asset_tag
+ }
+
actions += ''
- + 'Delete ';
+ + '{{ trans('general.delete') }} ';
} else {
actions += ' ';
}