@@ -953,6 +953,13 @@
|
||||
}
|
||||
|
||||
|
||||
function fileUploadFormatter(value) {
|
||||
if ((value) && (value.url) && (value.inlineable)) {
|
||||
return '<a href="' + value.url + '" data-toggle="lightbox" data-type="image"><img src="' + value.url + '" style="max-height: {{ $snipeSettings->thumbnail_max_h }}px; width: auto;" class="img-responsive" alt=""></a>';
|
||||
} else if ((value) && (value.url)) {
|
||||
return '<a href="' + value.url + '" class="btn btn-default"><x-icon type="download" /></a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// This is used in the table listings
|
||||
|
||||
Reference in New Issue
Block a user