Skip to content

Commit

Permalink
Merge pull request #3802 from ADB-SPADE/master
Browse files Browse the repository at this point in the history
Generalize logo-urls in profile-detail template.
  • Loading branch information
Alessio Fabiani authored May 14, 2018
2 parents 6c3b2b9 + c9e3966 commit 02fbe20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geonode/people/templates/people/profile_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 class="page-title">{{ profile.name_long }}</h2>
{% if user == profile %}
{% for group in profile.group_list_all %}
<div ng-if="group.logo != ''" class="col-xs-1 pull-right group-logo">
<a href="{{ group.get_absolute_url }}" ><img src="/uploaded/{{ group.logo }}" alt="{{ group.title }}" /></a>
<a href="{{ group.get_absolute_url }}" ><img src="{% get_media_prefix %}{{ group.logo }}" alt="{{ group.title }}" /></a>
</div>
<!-- <div class="col-xs-6 col-md-8">
<h5>
Expand All @@ -47,7 +47,7 @@ <h5>
{% else %}
{% for group in profile.group_list_public %}
<div ng-if="group.logo != ''" class="col-xs-1 pull-right group-logo">
<a href="{{ group.get_absolute_url }}" ><img src="/uploaded/{{ group.logo }}" alt="{{ group.title }}" /></a>
<a href="{{ group.get_absolute_url }}" ><img src="{% get_media_prefix %}{{ group.logo }}" alt="{{ group.title }}" /></a>
</div>
<!-- <div class="col-xs-6 col-md-8">
<h5>
Expand Down

0 comments on commit 02fbe20

Please sign in to comment.