Commit 182b6bf0 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

Merge branch 'master' of git.gmu.edu:srct/roomlist

parents 713e7680 6432f9b0
......@@ -211,9 +211,9 @@ class Student(TimeStampedModel):
#print("profile_image")
if len(fb_uid) > 0:
return "http://graph.facebook.com/{}/picture?width=175&height=175".format(fb_uid[0].uid)
return "https://graph.facebook.com/{}/picture?width=175&height=175".format(fb_uid[0].uid)
return "http://www.gravatar.com/avatar/{}?s=175&d=mm".format(hashlib.md5(self.user.email).hexdigest())
return "https://secure.gravatar.com/avatar/{}?s=175&d=mm".format(hashlib.md5(self.user.email).hexdigest())
def get_absolute_url(self):
return reverse('detail_student', kwargs={'slug': self.slug})
......
......@@ -4,6 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="description" content="Find your on campus neighbors"> {% load staticfiles %}
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="/static/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="/static/css/style.css" rel="stylesheet" media="screen">
<link href="/static/css/font-awesome.min.css" rel="stylesheet">
......
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