Commit 58af4066 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

Merge branch 'issue75' into '1.0'

issue 75

Should be able to close issue #75 with this.

See merge request !11
parents cbb9d637 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 student.user.email 75 %}">
<img class="img-circle img-responsive" src="{% gravatar_url request.user.email 75 %}">
</div>
<div class="col-md-6">
<h2><strong>{{ student.user.get_full_name }}</strong>
......@@ -41,7 +41,7 @@ SRCT Bookshare &bull; {{ student.user.get_full_name }}
{% endif %}
</div>
<div class="col-md-2 text-right">
<h3><a href="mailto:{{ student.user.email }}"><i class="fa fa-envelope"></i> {{ student.user.username }}</a></h3>
<h3><a href="mailto:{{ request.user.email }}"><i class="fa fa-envelope"></i> {{ student.user.username }}</a></h3>
</div>
</div>
</legend>
......
......@@ -13,7 +13,7 @@ SRCT Bookshare &bull; {{ 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 student.user.email 75 %}">
<img class="img-circle img-responsive" src="{% gravatar_url request.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>
......
......@@ -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 student.user.email 21 %}"></a></li>
<img class="img-circle img-responsive center center-block" src="{% gravatar_url request.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>
......
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