This commit is contained in:
@@ -5,15 +5,15 @@
|
||||
//
|
||||
|
||||
const icons = {
|
||||
image: "fa-file-image",
|
||||
pdf: "fa-file-pdf",
|
||||
word: "fa-file-word",
|
||||
image: "$ayiFileImage",
|
||||
pdf: "$ayiFilePdf",
|
||||
word: "$ayiFileWord",
|
||||
powerpoint: "fa-file-powerpoint",
|
||||
excel: "fa-file-excel",
|
||||
csv: "fa-file-csv",
|
||||
audio: "fa-file-audio",
|
||||
video: "fa-file-video",
|
||||
archive: "fa-file-archive",
|
||||
archive: "$ayiFileArchive",
|
||||
code: "fa-file-code",
|
||||
text: "fa-file-alt",
|
||||
file: "fa-file"
|
||||
@@ -304,9 +304,9 @@ export default {
|
||||
case window.$gz.type.User:
|
||||
return "fa-user";
|
||||
case window.$gz.type.Widget:
|
||||
return "fa-vial";
|
||||
return "$ayiVial";
|
||||
case window.$gz.type.ServerState:
|
||||
return "fa-door-open";
|
||||
return "$ayiDoorOpen";
|
||||
case window.$gz.type.License:
|
||||
return "$ayiTicket";
|
||||
case window.$gz.type.LogFile:
|
||||
@@ -314,13 +314,13 @@ export default {
|
||||
case window.$gz.type.PickListTemplate:
|
||||
return "fa-pencil-ruler";
|
||||
case window.$gz.type.ServerJob:
|
||||
return "fa-robot";
|
||||
return "$ayiRobot";
|
||||
case window.$gz.type.AyaNova7Import:
|
||||
return "fa-file-import";
|
||||
case window.$gz.type.TrialSeeder:
|
||||
return "fa-seedling";
|
||||
case window.$gz.type.Metrics:
|
||||
return "fa-file-medical-alt";
|
||||
return "$ayiFileMedicalAlt";
|
||||
case window.$gz.type.Translation:
|
||||
return "$ayiLanguage";
|
||||
case window.$gz.type.UserOptions:
|
||||
@@ -375,7 +375,7 @@ export default {
|
||||
// attempt to detect image extension name
|
||||
//
|
||||
isImageAttachment: function(fileName, mimeType) {
|
||||
return this.iconForFile(fileName, mimeType) == "fa-file-image";
|
||||
return this.iconForFile(fileName, mimeType) == "$ayiFileImage";
|
||||
},
|
||||
///////////////////////////////////////////////
|
||||
// Sleep async
|
||||
|
||||
Reference in New Issue
Block a user