Commit 27f76be8 authored by Luuk Scholten's avatar Luuk Scholten

Fix static links from activemembers to committees

package was renamed, but not all references were fixed
parent 4b621377
......@@ -19,7 +19,7 @@
{% if board.photo %}
<img alt="{{ board.name }}" class="span12" src="{% thumbnail board.photo '1024x683' fit=False %}">
{% else %}
<img alt="{{ board.name }}" class="span12" src="{% static 'committees/images/placeholder.png' %}">
<img alt="{{ board.name }}" class="span12" src="{% static 'activemembers/images/placeholder.png' %}">
{% endif %}
</div>
<div class="clearfix member-directory">
......@@ -62,4 +62,4 @@
</div>
</div>
</div>
{% endblock %}
\ No newline at end of file
{% endblock %}
......@@ -23,7 +23,7 @@
{% if board.photo %}
<img src="{% thumbnail board.photo '220x220' fit=False %}" alt="{% blocktrans with name=board.name %}Photo of {{ name }}{% endblocktrans %}">
{% else %}
<img height="220" width="220" src="{% static 'committees/images/placeholder.png' %}">
<img height="220" width="220" src="{% static 'activemembers/images/placeholder.png' %}">
{% endif %}
</div>
......
......@@ -14,10 +14,10 @@
<div class="clearfix portfolio">
<div id="committee-div">
<div class="row">
{% if committee.photo %}
{% if committee.photo %}
<img alt="{% blocktrans with name=committee.name %}Photo of {{ name }}{% endblocktrans %}" class="span12" src="{% thumbnail committee.photo '1024x683' fit=False %}">
{% else %}
<img alt="{% blocktrans with name=committee.name %}Photo of {{ name }}{% endblocktrans %}" class="span12" src="{% static 'committees/images/placeholder.png' %}">
<img alt="{% blocktrans with name=committee.name %}Photo of {{ name }}{% endblocktrans %}" class="span12" src="{% static 'activemembers/images/placeholder.png' %}">
{% endif %}
</div>
<div>
......
......@@ -17,7 +17,7 @@
{% if committee.photo %}
<img src="{% thumbnail committee.photo '220x220' fit=False %}" alt="Photo of {{ committee.name }}">
{% else %}
<img height="220" width="220" src="{% static 'committees/images/placeholder.png' %}">
<img height="220" width="220" src="{% static 'activemembers/images/placeholder.png' %}">
{% endif %}
</div>
......
......@@ -55,6 +55,6 @@ def board_detail(request, id):
member.role = membership.role
members.append(member) # list comprehension would be more pythonic?
return render(request, 'committees/board_detail.html',
return render(request, 'activemembers/board_detail.html',
{'board': board,
'members': members})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment