Skip to content

Commit

Permalink
Fix space in image source filename
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Oct 25, 2017
1 parent 7b18ec1 commit 358eda4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion marketplaceapp/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{% if user and not user.is_anonymous %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<img src="{% if user.profile %} {{ user.profile.avatar }} {% else %} {% static 'img/avatar.png' %}{% endif %}" class="img-circle" height="22" width="22">
<img src="{% if user.profile %}{{ user.profile.avatar }}{% else %}{% static 'img/avatar.png' %}{% endif %}" class="img-circle" height="22" width="22">
{{ user.get_full_name|default:user.username }} <spam class="caret"></spam>
</a>
<ul class="dropdown-menu">
Expand Down
4 changes: 2 additions & 2 deletions marketplaceapp/templates/gig_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ <h5>Itom Man</h5>
</div>
<div class="panel panel-default">
<div class="panel-body">
<img src="{% if gig.user.profile.avatar %} {{ gig.user.profile.avatar }} {% else %} {% static 'img/avatar.png' %} {% endif %}" alt="{{ gig.user.username }}" class="img-circle center-block" height="100" width="100">
<h4 class="text-center">{{ gig.user.username }}</h4>
<a href="{% url 'profile' gig.user.username %}"><img src="{% if gig.user.profile.avatar %}{{ gig.user.profile.avatar }}{% else %}{% static 'img/avatar.png' %}{% endif %}" alt="{{ gig.user.username }}" title="See profile details" class="img-circle center-block" height="100" width="100"></a>
<a href="{% url 'profile' gig.user.username %}" title="See profile page"><h4 class="text-center">{{ gig.user.username }}</h4></a>
<hr>
<p>{{ gig.user.profile.about }}</p>
</div>
Expand Down

0 comments on commit 358eda4

Please sign in to comment.