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

Fix static links from activemembers to committees

package was renamed, but not all references were fixed
parent 4b621377
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
{% if board.photo %} {% if board.photo %}
<img alt="{{ board.name }}" class="span12" src="{% thumbnail board.photo '1024x683' fit=False %}"> <img alt="{{ board.name }}" class="span12" src="{% thumbnail board.photo '1024x683' fit=False %}">
{% else %} {% 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 %} {% endif %}
</div> </div>
<div class="clearfix member-directory"> <div class="clearfix member-directory">
...@@ -62,4 +62,4 @@ ...@@ -62,4 +62,4 @@
</div> </div>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
{% if board.photo %} {% if board.photo %}
<img src="{% thumbnail board.photo '220x220' fit=False %}" alt="{% blocktrans with name=board.name %}Photo of {{ name }}{% endblocktrans %}"> <img src="{% thumbnail board.photo '220x220' fit=False %}" alt="{% blocktrans with name=board.name %}Photo of {{ name }}{% endblocktrans %}">
{% else %} {% else %}
<img height="220" width="220" src="{% static 'committees/images/placeholder.png' %}"> <img height="220" width="220" src="{% static 'activemembers/images/placeholder.png' %}">
{% endif %} {% endif %}
</div> </div>
......
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
<div class="clearfix portfolio"> <div class="clearfix portfolio">
<div id="committee-div"> <div id="committee-div">
<div class="row"> <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 %}"> <img alt="{% blocktrans with name=committee.name %}Photo of {{ name }}{% endblocktrans %}" class="span12" src="{% thumbnail committee.photo '1024x683' fit=False %}">
{% else %} {% 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 %} {% endif %}
</div> </div>
<div> <div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
{% if committee.photo %} {% if committee.photo %}
<img src="{% thumbnail committee.photo '220x220' fit=False %}" alt="Photo of {{ committee.name }}"> <img src="{% thumbnail committee.photo '220x220' fit=False %}" alt="Photo of {{ committee.name }}">
{% else %} {% else %}
<img height="220" width="220" src="{% static 'committees/images/placeholder.png' %}"> <img height="220" width="220" src="{% static 'activemembers/images/placeholder.png' %}">
{% endif %} {% endif %}
</div> </div>
......
...@@ -55,6 +55,6 @@ def board_detail(request, id): ...@@ -55,6 +55,6 @@ def board_detail(request, id):
member.role = membership.role member.role = membership.role
members.append(member) # list comprehension would be more pythonic? 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, {'board': board,
'members': members}) '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