Link from campaigns to the respective work page (not campaign page)

pull/1/head
Raymond Yee 2011-11-28 16:13:06 -08:00
parent 57640ec7b2
commit 42a8af4c5e
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<h2>Campaigns</h2> <h2>Campaigns</h2>
<ul> <ul>
{% for campaign in campaign_list %} {% for campaign in campaign_list %}
<li><a href="{% url campaign_by_id pk=campaign.id %}">{{ campaign.name }}</a></li> <li><a href="{% url work work_id=campaign.work.id %}">{{ campaign.name }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endblock %} {% endblock %}