#1206 Support for .xlsm
This commit is contained in:
parent
6d639c0c0d
commit
ef332c071d
@ -49,6 +49,7 @@ class DmsfFileRevision < ActiveRecord::Base
|
||||
'application/vnd.oasis.opendocument.spreadsheet' => 'ms-excel',
|
||||
'application/vnd.oasis.opendocument.text' => 'ms-word',
|
||||
'application/vnd.oasis.opendocument.presentation' => 'ms-powerpoint',
|
||||
'application/vnd.ms-excel.sheet.macroEnabled.12' => 'ms-exel'
|
||||
}.freeze
|
||||
|
||||
scope :visible, -> { where(deleted: STATUS_ACTIVE) }
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 671 B |
Binary file not shown.
|
Before Width: | Height: | Size: 744 B |
@ -150,7 +150,7 @@ div[id*="revision_access_"] {
|
||||
.dmsf-system .icon-folder { background-image: url(../images/folder_system.png); }
|
||||
|
||||
.icon-file.filetype-doc, .icon-file.filetype-docx { background-image: url(../images/filetypes/doc.png); }
|
||||
.icon-file.filetype-xls, .icon-file.filetype-xlsx { background-image: url(../images/filetypes/xls.png); }
|
||||
.icon-file.filetype-xls, .icon-file.filetype-xlsx, .icon-file.filetype-xlsm { background-image: url(../images/filetypes/xls.png); }
|
||||
.icon-file.filetype-ppt, .icon-file.filetype-pptx { background-image: url(../images/filetypes/ppt.png); }
|
||||
.icon-file.filetype-vsd, .icon-file.filetype-vsdx { background-image: url(../images/filetypes/vsd.png); }
|
||||
.icon-file.filetype-mpp { background-image: url(../images/filetypes/mpp.png); }
|
||||
@ -164,6 +164,7 @@ div[id*="revision_access_"] {
|
||||
.dmsf-gray .icon-file.filetype-docx { background-image: url(../images/filetypes/doc_gray.png); }
|
||||
.dmsf-gray .icon-file.filetype-xls { background-image: url(../images/filetypes/xls_gray.png); }
|
||||
.dmsf-gray .icon-file.filetype-xlsx { background-image: url(../images/filetypes/xls_gray.png); }
|
||||
.dmsf-gray .icon-file.filetype-xlsm { background-image: url(../images/filetypes/xls_gray.png); }
|
||||
.dmsf-gray .icon-file.filetype-ppt { background-image: url(../images/filetypes/ppt_gray.png); }
|
||||
.dmsf-gray .icon-file.filetype-pptx { background-image: url(../images/filetypes/ppt_gray.png); }
|
||||
.dmsf-gray .icon-file.filetype-vsd { background-image: url(../images/filetypes/vsd_gray.png); }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user