mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Added nobr for nicer formatting of bs tables status and deployed to
This commit is contained in:
parent
c37fa44f72
commit
0f5e0dcd4f
|
@ -191,9 +191,9 @@ $('.snipe-table').bootstrapTable('destroy').bootstrapTable({
|
|||
icon_style = 'fa-times';
|
||||
}
|
||||
|
||||
return '<a href="{{ url('/') }}/' + destination + '/' + value.id + '" data-tooltip="true" title="'+ value.status_meta + '"> <i class="fa ' + icon_style + ' text-' + text_color + '"></i> ' + value.name + '</a> ';
|
||||
return '<nobr><a href="{{ url('/') }}/' + destination + '/' + value.id + '" data-tooltip="true" title="'+ value.status_meta + '"> <i class="fa ' + icon_style + ' text-' + text_color + '"></i> ' + value.name + '</a></nobr>';
|
||||
} else if ((value) && (value.name)) {
|
||||
return '<a href="{{ url('/') }}/' + destination + '/' + value.id + '"> ' + value.name + '</a>';
|
||||
return '<nobr><a href="{{ url('/') }}/' + destination + '/' + value.id + '"> ' + value.name + '</a></span>';
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -270,7 +270,7 @@ $('.snipe-table').bootstrapTable('destroy').bootstrapTable({
|
|||
item_icon = 'fa-map-marker';
|
||||
}
|
||||
|
||||
return '<a href="{{ url('/') }}/' + item_destination +'/' + value.id + '" data-tooltip="true" title="' + value.type + '"><i class="fa ' + item_icon + ' text-blue"></i> ' + value.name + '</a>';
|
||||
return '<nobr><a href="{{ url('/') }}/' + item_destination +'/' + value.id + '" data-tooltip="true" title="' + value.type + '"><i class="fa ' + item_icon + ' text-blue"></i> ' + value.name + '</a></nobr>';
|
||||
|
||||
} else {
|
||||
return '';
|
||||
|
|
Loading…
Reference in a new issue