Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Support more icons.
James Cole59c48268ab6b
diff --git a/app/Support/Twig/General.php b/app/Support/Twig/General.phpindex cfa0f73f35..d3387e31fd 100644--- a/app/Support/Twig/General.php+++ b/app/Support/Twig/General.php@@ -256,9 +256,64 @@ class General extends Twig_Extensionreturn 'fa-file-o';case 'application/pdf':return 'fa-file-pdf-o';+ /* image */case 'image/png':case 'image/jpeg':+ case 'image/svg+xml':+ case 'image/heic':+ case 'image/heic-sequence':+ case 'application/vnd.oasis.opendocument.image':return 'fa-file-image-o';+ /* MS word */+ case 'application/msword':+ case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document':+ case 'application/vnd.openxmlformats-officedocument.wordprocessingml.template':+ case 'application/x-iwork-pages-sffpages':+ case 'application/vnd.sun.xml.writer':+ case 'application/vnd.sun.xml.writer.template':+ case 'application/vnd.sun.xml.writer.global':+ case 'application/vnd.stardivision.writer':+ case 'application/vnd.stardivision.writer-global':+ case 'application/vnd.oasis.opendocument.text':+ case 'application/vnd.oasis.opendocument.text-template':+ case 'application/vnd.oasis.opendocument.text-web':+ case 'application/vnd.oasis.opendocument.text-master':+ return 'fa-file-word-o';+ /* MS excel */+ case 'application/vnd.ms-excel':+ case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':+ case 'application/vnd.openxmlformats-officedocument.spreadsheetml.template':+ case 'application/vnd.sun.xml.calc':+ case 'application/vnd.sun.xml.calc.template':+ case 'application/vnd.stardivision.calc':+ case 'application/vnd.oasis.opendocument.spreadsheet':+ case 'application/vnd.oasis.opendocument.spreadsheet-template':+ return 'fa-file-excel-o';+ /* MS powerpoint */+ case 'application/vnd.ms-powerpoint':+ case 'application/vnd.openxmlformats-officedocument.presentationml.presentation':+ case 'application/vnd.openxmlformats-officedocument.presentationml.template':+ case 'application/vnd.openxmlformats-officedocument.presentationml.slideshow':+ case 'application/vnd.sun.xml.impress':+ case 'application/vnd.sun.xml.impress.template':+ case 'application/vnd.stardivision.impress':+ case 'application/vnd.oasis.opendocument.presentation':+ case 'application/vnd.oasis.opendocument.presentation-template':+ return 'fa-file-powerpoint-o';+ /* calc */+ case 'application/vnd.sun.xml.draw':+ case 'application/vnd.sun.xml.draw.template':+ case 'application/vnd.stardivision.draw':+ case 'application/vnd.oasis.opendocument.chart':+ return 'fa-paint-brush';+ case 'application/vnd.oasis.opendocument.graphics':+ case 'application/vnd.oasis.opendocument.graphics-template':+ case 'application/vnd.sun.xml.math':+ case 'application/vnd.stardivision.math':+ case 'application/vnd.oasis.opendocument.formula':+ case 'application/vnd.oasis.opendocument.database':+ return 'fa-calculator';+}},['is_safe' => ['html']]