Link from campaigns to the respective work page (not campaign page)
parent
57640ec7b2
commit
42a8af4c5e
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue