Commit bcc86f09 authored by Mark Stenglein's avatar Mark Stenglein

Finish changing template to python logic

parent 72208564
......@@ -36,13 +36,9 @@
<i class="fa fa-star-o"></i>
{% endfor %}
</h3></a>
{% else %}
{% if student.user.get_full_name == "" %}
<small>{{ student.user.username }} has no ratings yet.</small>
{% else %}
<small>{{ student.get_first_name_or_uname }} has no ratings yet.</small>
{% endif %}
{% 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>
......
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