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

Add business groups

This commit is contained in:
xiez
2012-09-17 21:38:54 +08:00
parent ce04e5cb47
commit 00460468cb
12 changed files with 208 additions and 43 deletions

View File

@@ -6,8 +6,7 @@ and returns a dictionary to add to the context.
These are referenced from the setting TEMPLATE_CONTEXT_PROCESSORS and used by
RequestContext.
"""
from settings import SEAFILE_VERSION
from settings import SEAHUB_TITLE
from settings import SEAFILE_VERSION, SEAHUB_TITLE, BUSINESS_MODE
def base(request):
"""
@@ -25,6 +24,7 @@ def base(request):
return {
'seafile_version': SEAFILE_VERSION,
'seahub_title': SEAHUB_TITLE,
'business_mode': BUSINESS_MODE,
'cloud_mode': request.cloud_mode,
'org': org,
'base_template': base_template,