mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Added bootstrap-tables presenter formatter to display an audit button
This commit is contained in:
parent
05a85c628f
commit
8154d1116c
|
@ -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 buttons
|
||||
function genericActionsFormatter(destination) {
|
||||
return function (value,row) {
|
||||
|
|
Loading…
Reference in a new issue