Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmwatson committed Dec 9, 2024
1 parent 56c1f2f commit 30e011e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pmg/templates/admin/edit_member.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% set member = model %}
<div class="row">
<div class="col-md-8 col-lg-offset-2">
<img style="max-width: 125px;" class="pull-right" src="{{ STATIC_HOST }}{{ member.profile_pic_url }}" />
<img style="max-width: 125px;" class="pull-right" src="{{ member.profile_pic_url }}" />
<h1>{{ member.name }}</h1>
<p class="lead">{{ member.house.name }}</p>
<p class="lead">{{ member.party.name }}</p>
Expand Down
2 changes: 1 addition & 1 deletion pmg/templates/admin/inline_membership.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</div>
<div class="col-md-2 text-center">
{% if model and model.member.profile_pic_url %}
<img src="{{ STATIC_HOST }}{{ member.profile_pic_url }}" style="max-width: 75px;"></img>
<img src="{{ member.profile_pic_url }}" style="max-width: 75px;"></img>
{% endif %}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion pmg/templates/macros/members.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% macro member_badge(member, chairperson=False) -%}
{%- if member.profile_pic_url %}
<a href="{{ member|member_url }}"><img class="member-profile-pic {% if chairperson %}chairperson{% endif %}" src="{{ STATIC_HOST }}{{ member.profile_pic_url }}" alt="Profile picture: {{ member.name }}" ></a>
<a href="{{ member|member_url }}"><img class="member-profile-pic {% if chairperson %}chairperson{% endif %}" src="{{ member.profile_pic_url }}" alt="Profile picture: {{ member.name }}" ></a>
{% else %}
<p class="text-muted">No image available</p>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion pmg/templates/member_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1><i class="fa fa-user"></i> {{ member.name }}</h1>

<div class="row">
<div class="col-md-1">
<img src="{{ STATIC_HOST }}{{ member.profile_pic_url }}" alt="{{ member.name }}">
<img src="{{ member.profile_pic_url }}" alt="{{ member.name }}">
</div>
<div class="col-md-4">
{{ member.bio|safe }}
Expand Down

0 comments on commit 30e011e

Please sign in to comment.