Commit e0a4f7c6 authored by Daniel W Bond's avatar Daniel W Bond

welcome templates were not taking advantage of the 'student' provided to them...

welcome templates were not taking advantage of the 'student' provided to them through get_context_data
parent 5ceb42cd
......@@ -29,7 +29,7 @@
<div class="col-md-8 col-md-offset-2">
<p>
Now let's verify your major and add your graduating year,
{{ request.user.student.get_first_name_or_uname }}. This information can help
{{ student.get_first_name_or_uname }}. This information can help
students form study groups.
</p>
</div>
......
......@@ -26,7 +26,7 @@
<div class="row">
<div class="col-md-8 col-md-offset-2">
<p>
Excellent, {{ request.user.student.get_first_name_or_uname }}! If you live on
Excellent, {{ student.get_first_name_or_uname }}! If you live on
campus, you have three privacy options to control your room and social media
visibility.
<ul>
......@@ -53,7 +53,7 @@
</div>
<div class="panel-body">
{% if not request.user.student.recent_changes > 2 %}
{% if not student.recent_changes > 2 %}
{% spaceless %}
{% if form.non_field_errors %}
<ul class="text-center">
......
......@@ -22,7 +22,7 @@
<div class="col-md-8 col-md-offset-2">
<p>
We're <strong>not</strong> recreating yet <em>another</em> social network. Instead,
{{ request.user.student.get_first_name_or_uname }}, point other students to the
{{ student.get_first_name_or_uname }}, point other students to the
social media accounts you <em>already</em> use on your directory page.
</p>
<p>
......
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