Skip to content

Commit

Permalink
change zip file icon (#6637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael18811380328 authored Aug 26, 2024
1 parent e1e524e commit 021b863
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ export const Utils = {
'ico': 'pic.png',
'psd': 'psd.png',

// zip file
'zip': 'zip.png',
'rar': 'zip.png',
'tar': 'zip.png',

// style file
'css': 'css.png',

Expand Down
Binary file added media/img/file/256/zip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions seahub/base/templatetags/seahub_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ def tsstr_day(value):
'ico': 'pic.png',
'psd': 'psd.png',

# zip file
'zip': 'zip.png',
'rar': 'zip.png',
'tar': 'zip.png',

# style file
'css': 'css.png',

Expand Down

0 comments on commit 021b863

Please sign in to comment.