From 7d8ded7bf350f7c1077507e29547d395654f90df Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Fri, 20 Jul 2012 14:06:49 -0400 Subject: [PATCH 1/3] Removed UpdateCacheMiddleware, which wasn't doing anything. --- lms/envs/common.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lms/envs/common.py b/lms/envs/common.py index c8989d1b3c..19b3f6449c 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -262,7 +262,6 @@ TEMPLATE_LOADERS = ( MIDDLEWARE_CLASSES = ( 'util.middleware.ExceptionLoggingMiddleware', - 'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', From 96b41e93d118cdc095e1c249dc62b56e9cc822f9 Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Fri, 20 Jul 2012 14:33:30 -0400 Subject: [PATCH 2/3] Removed old todo comment. --- common/djangoapps/student/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/djangoapps/student/views.py b/common/djangoapps/student/views.py index 7d521931a2..9d2ea93049 100644 --- a/common/djangoapps/student/views.py +++ b/common/djangoapps/student/views.py @@ -254,8 +254,7 @@ def create_account(request, post_override=None): int(post_vars['date_of_birth__day'])) up.save() - - # TODO (vshnayder): the LMS should probably allow signups without a particular course too + d = {'name': post_vars['name'], 'key': r.activation_key, } From c499a1a56380021d99ab6e5643635d9c90f3dba4 Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Fri, 20 Jul 2012 14:55:01 -0400 Subject: [PATCH 3/3] Now displaying full name on the dashboard, instead of location. The icon is just a generic info icon, for now. --- lms/static/sass/_dashboard.scss | 4 ++++ lms/templates/dashboard.html | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lms/static/sass/_dashboard.scss b/lms/static/sass/_dashboard.scss index dbcd170065..906c8081c1 100644 --- a/lms/static/sass/_dashboard.scss +++ b/lms/static/sass/_dashboard.scss @@ -73,6 +73,10 @@ &.email-icon { @include background-image(url('../images/portal-icons/email-icon.png')); } + + &.name-icon { + @include background-image(url('../images/portal-icons/course-info-icon.png')); + } &.location-icon { @include background-image(url('../images/portal-icons/home-icon.png')); diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index bdae0dc527..9bf46781c9 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -15,10 +15,10 @@