This commit is contained in:
Bob 2020-09-13 15:22:31 +08:00
parent f22e365db1
commit 21aa84f95c
2 changed files with 10 additions and 11 deletions

View File

@ -315,11 +315,10 @@
<li class="profile"> <li class="profile">
<a href="#" data-toggle="dropdown" class="toggle"> <a href="#" data-toggle="dropdown" class="toggle">
{# {% for u in user.userprofile_set.all %}#} {% for u in user.userprofile_set.all %}
{##} <img src="{{ u.image.url }}" alt="user-image"
{# <img src="{{ u.image.url }}" alt="user-image"#} class="img-circle img-inline">
{# class="img-circle img-inline">#} {% endfor %}
{# {% endfor %}#}
<span><i class="fa fa-angle-down"></i></span> <span><i class="fa fa-angle-down"></i></span>
</a> </a>
<ul class="dropdown-menu profile animated fadeIn"> <ul class="dropdown-menu profile animated fadeIn">

View File

@ -4,9 +4,9 @@
<div class="profile-image col-md-4 col-sm-4 col-xs-4"> <div class="profile-image col-md-4 col-sm-4 col-xs-4">
<a href="{% url 'dashboard-index' %}"> <a href="{% url 'dashboard-index' %}">
{# {% for u in user.userprofile_set.all %}#} {% for u in user.userprofile_set.all %}
{# <img src="{{ u.image.url }}" class="img-responsive img-circle">#} <img src="{{ u.image.url }}" class="img-responsive img-circle">
{# {% endfor %}#} {% endfor %}
</a> </a>
</div> </div>
@ -19,9 +19,9 @@
<span class="profile-status online"></span> <span class="profile-status online"></span>
</h3> </h3>
{# {% for u in user.userprofile_set.all %}#} {% for u in user.userprofile_set.all %}
{# <p class="profile-title">{{ u.organization }}</p>#} <p class="profile-title">{{ u.organization }}</p>
{# {% endfor %}#} {% endfor %}
</div> </div>
</div> </div>