1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 20:37:42 +00:00

exdraw icon (#7687)

This commit is contained in:
zhichaona
2025-03-31 11:48:13 +08:00
committed by GitHub
parent 71da2e685e
commit 700e933863
2 changed files with 3 additions and 1 deletions

View File

@@ -114,6 +114,7 @@ export const Utils = {
'webp': 'pic.png',
'jfif': 'pic.png',
'draw': 'draw.png',
'exdraw': 'draw.png',
// photoshop file
'psd': 'psd.png',

View File

@@ -106,6 +106,7 @@ FILEEXT_ICON_MAP = {
'ico': 'pic.png',
'psd': 'psd.png',
'draw': 'draw.png',
'exdraw': 'draw.png',
# zip file
'zip': 'zip.png',
@@ -403,7 +404,7 @@ def email2contact_email(value):
return contact_email
contact_email = Profile.objects.get_contact_email_by_user(value)
cache.set(key, contact_email, CONTACT_CACHE_TIMEOUT)
cache.set(key, contact_email, CONTACT_CACHE_TIMEOUT)
return contact_email
@register.filter(name='email2id')