Added bootstrap-tables presenter formatter to display an audit button
This commit is contained in:
parent
05a85c628f
commit
8154d1116c
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue