mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
Fixed a few bugs related to org. Using with tag to wrap template include
This commit is contained in:
@@ -21,13 +21,12 @@ def base(request):
|
||||
try:
|
||||
base_template = request.base_template
|
||||
except AttributeError:
|
||||
base_template = None
|
||||
base_template = 'myhome_base.html'
|
||||
return {
|
||||
'seafile_version': SEAFILE_VERSION,
|
||||
'seahub_title': SEAHUB_TITLE,
|
||||
'cloud_mode': request.cloud_mode,
|
||||
'org': org,
|
||||
'base_template': base_template,
|
||||
# 'account_type': settings.ACCOUNT_TYPE,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user