mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-30 08:53:49 +00:00
[group members] use double size for member avatars
This commit is contained in:
parent
03d075a00b
commit
1f15e38752
@ -287,7 +287,7 @@ AVATAR_DEFAULT_URL = '/avatars/default.png'
|
|||||||
AVATAR_DEFAULT_NON_REGISTERED_URL = '/avatars/default-non-register.jpg'
|
AVATAR_DEFAULT_NON_REGISTERED_URL = '/avatars/default-non-register.jpg'
|
||||||
AVATAR_MAX_AVATARS_PER_USER = 1
|
AVATAR_MAX_AVATARS_PER_USER = 1
|
||||||
AVATAR_CACHE_TIMEOUT = 14 * 24 * 60 * 60
|
AVATAR_CACHE_TIMEOUT = 14 * 24 * 60 * 60
|
||||||
AUTO_GENERATE_AVATAR_SIZES = (16, 20, 24, 28, 32, 36, 40, 48, 60, 80, 290)
|
AUTO_GENERATE_AVATAR_SIZES = (16, 20, 24, 28, 32, 36, 40, 48, 60, 64, 80, 290)
|
||||||
# Group avatar
|
# Group avatar
|
||||||
GROUP_AVATAR_STORAGE_DIR = 'avatars/groups'
|
GROUP_AVATAR_STORAGE_DIR = 'avatars/groups'
|
||||||
GROUP_AVATAR_DEFAULT_URL = 'avatars/groups/default.png'
|
GROUP_AVATAR_DEFAULT_URL = 'avatars/groups/default.png'
|
||||||
|
@ -66,7 +66,7 @@ define([
|
|||||||
this.collection.fetch({
|
this.collection.fetch({
|
||||||
cache: false,
|
cache: false,
|
||||||
reset: true,
|
reset: true,
|
||||||
data: {'avatar_size': 32},
|
data: {'avatar_size': 64},
|
||||||
success: function (collection, response, opts) {
|
success: function (collection, response, opts) {
|
||||||
},
|
},
|
||||||
error: function (collection, response, opts) {
|
error: function (collection, response, opts) {
|
||||||
|
Loading…
Reference in New Issue
Block a user