Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bookshare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
bookshare
Commits
40a26396
Commit
40a26396
authored
Apr 07, 2016
by
Mark Stenglein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the gravatar bug where student.user.email was used instead of request.user.email
parent
cbb9d637
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
bookshare/core/templates/profile.html
bookshare/core/templates/profile.html
+2
-2
bookshare/core/templates/ratings.html
bookshare/core/templates/ratings.html
+1
-1
bookshare/templates/layouts/navbar.html
bookshare/templates/layouts/navbar.html
+1
-1
No files found.
bookshare/core/templates/profile.html
View file @
40a26396
...
...
@@ -14,7 +14,7 @@ SRCT Bookshare • {{ student.user.get_full_name }}
<legend>
<div
class=
"row"
>
<div
class=
"col-md-1"
>
<img
class=
"img-circle img-responsive"
src=
"{% gravatar_url
studen
t.user.email 75 %}"
>
<img
class=
"img-circle img-responsive"
src=
"{% gravatar_url
reques
t.user.email 75 %}"
>
</div>
<div
class=
"col-md-6"
>
<h2><strong>
{{ student.user.get_full_name }}
</strong>
...
...
@@ -41,7 +41,7 @@ SRCT Bookshare • {{ student.user.get_full_name }}
{% endif %}
</div>
<div
class=
"col-md-2 text-right"
>
<h3><a
href=
"mailto:{{
studen
t.user.email }}"
><i
class=
"fa fa-envelope"
></i>
{{ student.user.username }}
</a></h3>
<h3><a
href=
"mailto:{{
reques
t.user.email }}"
><i
class=
"fa fa-envelope"
></i>
{{ student.user.username }}
</a></h3>
</div>
</div>
</legend>
...
...
bookshare/core/templates/ratings.html
View file @
40a26396
...
...
@@ -13,7 +13,7 @@ SRCT Bookshare • {{ student.user.first_name }} {{ student.user.last_name }}
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-md-1"
>
<img
class=
"img-circle img-responsive"
src=
"{% gravatar_url
studen
t.user.email 75 %}"
>
<img
class=
"img-circle img-responsive"
src=
"{% gravatar_url
reques
t.user.email 75 %}"
>
</div>
<div
class=
"col-md-6"
>
<h2><strong><a
href=
"{{ student.get_absolute_url }}"
>
{{ student.user.get_full_name }}'s
</a>
Ratings
</strong></h2>
...
...
bookshare/templates/layouts/navbar.html
View file @
40a26396
...
...
@@ -25,7 +25,7 @@
<li><a
href=
"/search"
><i
class=
"fa fa-search fa-lg"
></i></a></li>
{% load gravatar %}
<li><a
href=
"{% url 'profile' request.user.username %}"
>
<img
class=
"img-circle img-responsive center center-block"
src=
"{% gravatar_url
studen
t.user.email 21 %}"
></a></li>
<img
class=
"img-circle img-responsive center center-block"
src=
"{% gravatar_url
reques
t.user.email 21 %}"
></a></li>
<li><a
href=
"/logout"
>
Log Out
</a></li>
{% else %}
<li><a
href=
"/login"
title=
"use your Mason username and password"
>
Log In
</a></li>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment