mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
Some modifications.
* Remove avatar cache * Handle empty repo open issue * Add SEAHUB_TITLE in settings.py
This commit is contained in:
@@ -8,9 +8,12 @@ RequestContext.
|
||||
"""
|
||||
import settings
|
||||
|
||||
def version(request):
|
||||
def base(request):
|
||||
"""
|
||||
Add seafile version to the context.
|
||||
Add seahub base configure to the context.
|
||||
|
||||
"""
|
||||
return {'seafile_version': settings.SEAFILE_VERSION}
|
||||
return {
|
||||
'seafile_version': settings.SEAFILE_VERSION,
|
||||
'seahub_title': settings.SEAHUB_TITLE,
|
||||
}
|
||||
|
Reference in New Issue
Block a user