Commit 5deb4e2e authored by Daniel W Bond's avatar Daniel W Bond

student staff status is displayed on floor, room, and landing pages... not...

student staff status is displayed on floor, room, and landing pages... not shown in major-related sections, because relevant
parent 1afa8947
...@@ -25,6 +25,9 @@ ...@@ -25,6 +25,9 @@
<div class="col-sm-3 col-xs-6 text-center"> <div class="col-sm-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture"> <img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture">
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4> <h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
{% if student.is_staff %}
<h4 class="text-info">{{ student.lead }}</h4>
{% endif %}
<h5><em>{% include 'double_major.html' %}</em></h5> <h5><em>{% include 'double_major.html' %}</em></h5>
<h5><a href="{{ student.room.get_absolute_url }}">{{ student.room }}</a></h5> <h5><a href="{{ student.room.get_absolute_url }}">{{ student.room }}</a></h5>
{% if student.get_flag_count %} {% if student.get_flag_count %}
......
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
<div class="col-sm-3 col-xs-6 text-center"> <div class="col-sm-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture"> <img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture">
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4> <h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
{% if student.is_staff %}
<h4 class="text-info">{{ student.lead }}</h4>
{% endif %}
<h5><em>{% include 'double_major.html' %}</em></h5> <h5><em>{% include 'double_major.html' %}</em></h5>
{% if student.get_flag_count > 4 %} {% if student.get_flag_count > 4 %}
<p><em>* a number of other floormates say this info is incorrect</em></p> <p><em>* a number of other floormates say this info is incorrect</em></p>
......
...@@ -35,6 +35,9 @@ Back ...@@ -35,6 +35,9 @@ Back
<div class="col-sm-3 col-xs-6 text-center"> <div class="col-sm-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture"></img> <img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture"></img>
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4> <h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
{% if student.is_staff %}
<h4 class="text-info">{{ student.lead }}</h4>
{% endif %}
<h5><em>{% include 'double_major.html' %}</em></h5> <h5><em>{% include 'double_major.html' %}</em></h5>
</div> </div>
{% if forloop.counter|divisibleby:4 %} {% if forloop.counter|divisibleby:4 %}
...@@ -58,6 +61,9 @@ Back ...@@ -58,6 +61,9 @@ Back
<div class="col-md-3 col-xs-6 text-center"> <div class="col-md-3 col-xs-6 text-center">
<img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture"> <img class="img-circle img-responsive center center-block profile-image" src="{{ student.profile_image_url }}" alt="{{ student.get_first_name_or_uname }} profile picture">
<h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4> <h4><a href="{{ student.get_absolute_url }}"><strong>{{ student.get_full_name_or_uname }}</strong></a></h4>
{% if student.is_staff %}
<h4 class="text-info">{{ student.lead }}</h4>
{% endif %}
<h5><em>{% include 'double_major.html' %}</em></h5> <h5><em>{% include 'double_major.html' %}</em></h5>
<h5><a href="{{ student.room.get_absolute_url }}">{{ student.room }}</h5></a> <h5><a href="{{ student.room.get_absolute_url }}">{{ student.room }}</h5></a>
</div> </div>
......
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