Skip to content

Commit

Permalink
Merge pull request #345 from mroley1/develop
Browse files Browse the repository at this point in the history
added catch for intro members w/o profile in nav
  • Loading branch information
galenguyer authored Aug 25, 2022
2 parents 4d1aaa5 + 78794b0 commit d6d5ede
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packet/templates/include/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d6d5ede

Please sign in to comment.