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:
@@ -114,6 +114,7 @@ export const Utils = {
|
||||
'webp': 'pic.png',
|
||||
'jfif': 'pic.png',
|
||||
'draw': 'draw.png',
|
||||
'exdraw': 'draw.png',
|
||||
|
||||
// photoshop file
|
||||
'psd': 'psd.png',
|
||||
|
@@ -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')
|
||||
|
Reference in New Issue
Block a user