File tree Expand file tree Collapse file tree 4 files changed +176
-80
lines changed
Expand file tree Collapse file tree 4 files changed +176
-80
lines changed Original file line number Diff line number Diff line change 4141 'protected_file_skipped|protected_files_skipped ' => 'Geschützte Datei übersprungen|Geschützte Dateien übersprungen ' ,
4242 'file_deleted|files_deleted ' => 'Datei gelöscht|Dateien gelöscht ' ,
4343 'file_could_not_be_deleted|files_could_not_be_deleted ' => 'Datei konnte nicht gelöscht werden|Dateien konnten nicht gelöscht werden ' ,
44+ 'replace_file_success ' => 'Die Datei ":oldFileName" wurde erfolgreich durch ":newFileName" ersetzt. ' ,
45+ 'replace_file_error ' => 'Die Datei ":fileName" konnte nicht ersetzt werden. ' ,
46+ 'replace_error ' => 'Fehler beim Ersetzen der Datei ' ,
4447
4548 // Upload
4649 'upload_file ' => 'Datei hochladen ' ,
Original file line number Diff line number Diff line change 4141 'protected_file_skipped|protected_files_skipped ' => 'Protected file skipped|Protected files skipped ' ,
4242 'file_deleted|files_deleted ' => 'File deleted|Files deleted ' ,
4343 'file_could_not_be_deleted|files_could_not_be_deleted ' => 'File could not be deleted|Files could not be deleted ' ,
44+ 'replace_file_success ' => 'The file ":oldFileName" was successfully replaced with ":newFileName". ' ,
45+ 'replace_file_error ' => 'The file ":fileName" could not be replaced. ' ,
46+ 'replace_error ' => 'Error Replacing File ' ,
4447
4548 // Upload
4649 'upload_file ' => 'Upload File ' ,
Original file line number Diff line number Diff line change 2020 $url = $baseUrl . ' /' . $type . ' /' . $item -> media_usable_id ;
2121
2222 return "
23- <div class=\" flex items-center gap-2 py-2 px-3 hover:bg-gray-100 rounded-md transition-colors\" >
24- <svg class=\" w-4 h-4 text-gray-400\" xmlns=\" http://www.w3.org/2000/svg\" fill=\" none\" viewBox=\" 0 0 24 24\" stroke-width=\" 1.5\" stroke=\" currentColor\" >
25- <path stroke-linecap=\" round\" stroke-linejoin=\" round\" d=\" M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244\" />
26- </svg>
27- <a href=\" {$url }\" target=\" _blank\" class=\" text-primary-600 hover:text-primary-700 hover:underline break-all text-sm\" >
28- {$url }
29- </a>
30- </div>
31- " ;
23+ <div class=\" flex items-center gap-2 py-2 px-3 hover:bg-gray-100 rounded-md transition-colors\" >
24+ <svg class=\" w-4 h-4 text-gray-400\" xmlns=\" http://www.w3.org/2000/svg\" fill=\" none\" viewBox=\" 0 0 24 24\" stroke-width=\" 1.5\" stroke=\" currentColor\" >
25+ <path stroke-linecap=\" round\" stroke-linejoin=\" round\" d=\" M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244\" />
26+ </svg>
27+ <a href=\" {$url }\" target=\" _blank\" class=\" text-primary-600 hover:text-primary-700 hover:underline break-all text-sm\" >
28+ {$url }
29+ </a>
30+ </div>
31+ " ;
3232 })-> join (" \n " );
3333
3434 return "
35- <div class=\" mb-6\" >
36- <div class=\" flex items-center gap-2 mb-3\" >
37- <h3 class=\" text-lg font-medium text-gray-900\" >{$typeName }</h3>
38- <span class=\" px-2 py-0.5 text-xs font-medium bg-gray-100 text-gray-600 rounded-full\" >
39- {$items -> count ()} " . trans_choice (' media::fields.link|links' , $items -> count ()) . "
40- </span>
41- </div>
42- <div class=\" bg-white border border-gray-200 rounded-lg divide-y divide-gray-100\" >
43- {$links }
44- </div>
45- </div>
46- " ;
35+ <div class=\" mb-6\" >
36+ <div class=\" flex items-center gap-2 mb-3\" >
37+ <h3 class=\" text-lg font-medium text-gray-900\" >{$typeName }</h3>
38+ <span class=\" px-2 py-0.5 text-xs font-medium bg-gray-100 text-gray-600 rounded-full\" >
39+ {$items -> count ()} " . trans_choice (' media::fields.link|links' , $items -> count ()) . "
40+ </span>
41+ </div>
42+ <div class=\" bg-white border border-gray-200 rounded-lg divide-y divide-gray-100\" >
43+ {$links }
44+ </div>
45+ </div>
46+ " ;
4747 })-> join (" \n " );
4848@endphp
4949
You can’t perform that action at this time.
0 commit comments