aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-08-25 16:41:01 -0400
committerGitHub <noreply@github.com>2022-08-25 16:41:01 -0400
commitd6d5eded9e5c96d6820864efd852151cc4f3d897 (patch)
tree3f6cf641af8bd4a271f9d60597a772f83dafbfbc
parent4d1aaa52c5b8cfdb6dcc1e2ff4573ed41861fcd8 (diff)
parent78794b01c22814d434a7562749f26d2e4eb9e655 (diff)
Merge pull request #345 from mroley1/develop
added catch for intro members w/o profile in nav
-rw-r--r--packet/templates/include/nav.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/packet/templates/include/nav.html b/packet/templates/include/nav.html
index 3fd0fe9..6573b8b 100644
--- a/packet/templates/include/nav.html
+++ b/packet/templates/include/nav.html
@@ -41,7 +41,11 @@
<li class="navbar-user dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" id="user01">
+ {% if info.realm == "csh" %}
<img src="https://profiles.csh.rit.edu/image/{{ info.uid }}">
+ {% else %}
+ <img src="{{ get_rit_image(info.uid) }}">
+ {% endif %}
{{ info.uid }}
<span class="caret"></span>
</a>