We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ff71df commit 78794b0Copy full SHA for 78794b0
packet/templates/include/nav.html
@@ -41,7 +41,11 @@
41
<li class="navbar-user dropdown">
42
43
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" id="user01">
44
- <img src="https://profiles.csh.rit.edu/image/{{ info.uid }}" onerror="this.src='https://gravatar.com/avatar/c000557e7f805c44b0cc0079db911f21.jpg?d=mm&s=250'">
+ {% if info.realm == "csh" %}
45
+ <img src="https://profiles.csh.rit.edu/image/{{ info.uid }}">
46
+ {% else %}
47
+ <img src="{{ get_rit_image(info.uid) }}">
48
+ {% endif %}
49
{{ info.uid }}
50
<span class="caret"></span>
51
</a>
0 commit comments