summaryrefslogtreecommitdiff
path: root/design/templates/admin/income_month.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-11-20 22:21:09 -0500
committerluxagraf <sng@luxagraf.net>2015-11-20 22:21:09 -0500
commitb92b326fbc5de8d668282e49c7277aeb97b50237 (patch)
treeda03d3e3fdbb11e22f621c5f5101f3d0963820f3 /design/templates/admin/income_month.html
parent84f8428a929b33c3e88214901f53a0f302d69be6 (diff)
added link to gig item in monthly income view
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>