Commit f3885f7e by David Ormsbee

Merge pull request #243 from MITx/release_fixes

Dashboard show full name instead of location. Removed updatecachemiddleware.
parents 7b67e69e c499a1a5
......@@ -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,
}
......
......@@ -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',
......
......@@ -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'));
......
......@@ -15,10 +15,10 @@
<section class="user-info">
<ul>
<li>
<span class="title"><div class="icon email-icon"></div>Email</span><span class="data">${ user.email }</span>
<span class="title"><div class="icon name-icon"></div>Full Name</span><span class="data">${ user.profile.name | h }</span>
</li>
<li>
<span class="title"><div class="icon location-icon"></div>Location</span><span class="data">${ user.profile.location }</span>
<span class="title"><div class="icon email-icon"></div>Email</span><span class="data">${ user.email | h }</span>
</li>
</ul>
</section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment