1
0
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:
xiez
2012-05-30 22:42:21 +08:00
parent 120e960e21
commit bd243bd383
4 changed files with 45 additions and 34 deletions

View File

@@ -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,
}