summaryrefslogtreecommitdiff
path: root/design/templates/admin/income_month.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/admin/income_month.html')
-rw-r--r--design/templates/admin/income_month.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/admin/income_month.html b/design/templates/admin/income_month.html
index 9f1742a..8d2d3fe 100644
--- a/design/templates/admin/income_month.html
+++ b/design/templates/admin/income_month.html
@@ -68,7 +68,7 @@
{% for gig in billed %}
-<tr class="{% cycle 'row1' 'row2' %}"><th class="field-title">{{gig.title}}</th><td class="field-status">${{gig.payment}}</td><td class="field-payment_status">{{gig.publisher}}</td><td class="field-pub_date nowrap">{{gig.invoice_date}}</td></tr>
+<tr class="{% cycle 'row1' 'row2' %}"><th class="field-title">{% if gig.pub_item %}<a href="/admin/income/gig/{{gig.pub_item.pk}}/">{{gig.title}}</a>{%else%}{{gig.title}}{%endif%}</th><td class="field-status">${{gig.payment}}</td><td class="field-payment_status">{{gig.publisher}}</td><td class="field-pub_date nowrap">{{gig.invoice_date}}</td></tr>
{%endfor%}
<tr class="row2"><th class="field-title">&nbsp;</th><td class="field-status"></td><td class="field-payment_status"></td><td class="field-pub_date nowrap"></td></tr>
<tr class="row2"><th class="field-title">Total Billed:</th><td class="field-status">${{billed_total.total_payment}}</td><td class="field-payment_status"></td><td class="field-pub_date nowrap"></td></tr>
@@ -104,7 +104,7 @@
{% for gig in unbilled %}
-<tr class="{% cycle 'row1' 'row2' %}"><th class="field-title">{{gig.title}}</th><td class="field-status">${{gig.payment}}</td><td class="field-payment_status">{{gig.publisher}}</td><td class="field-pub_date nowrap">{{gig.invoice_date}}</td></tr>
+<tr class="{% cycle 'row1' 'row2' %}"><th class="field-title">{% if gig.pub_item %}<a href="/admin/income/gig/{{gig.pub_item.pk}}/">{{gig.title}}</a>{%else%}{{gig.title}}{%endif%}</th><td class="field-status">${{gig.payment}}</td><td class="field-payment_status">{{gig.publisher}}</td><td class="field-pub_date nowrap">{{gig.invoice_date}}</td></tr>
{%endfor%}
<tr class="row2"><th class="field-title">&nbsp;</th><td class="field-status"></td><td class="field-payment_status"></td><td class="field-pub_date nowrap"></td></tr>
<tr class="row2"><th class="field-title">Total Billed:</th><td class="field-status">${{unbilled_total.total_payment}}</td><td class="field-payment_status"></td><td class="field-pub_date nowrap"></td></tr>