A free open source IT asset/license management system
Added bootstrap-tables presenter formatter to display an audit button
snipe8154d1116c4a
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex b1eadb96c2..3132532326 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -167,6 +167,11 @@};}+ function hardwareAuditFormatter(value, row) {+ return '<a href="{{ url('/') }}/hardware/audit/' + row.id + '/" class="btn btn-sm bg-yellow" data-tooltip="true" title="Audit this item">{{ trans('general.audit') }}</a>';+ }++// Make the edit/delete buttonsfunction genericActionsFormatter(destination) {return function (value,row) {