From 5dbd867bdb550882de2f1fb1dddb43a4e20446d6 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 3 Jan 2013 06:51:20 +0530 Subject: [PATCH] output author names --- itf/templates/modules/scriptbank/script.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/itf/templates/modules/scriptbank/script.html b/itf/templates/modules/scriptbank/script.html index 175654a..3c8bcc5 100755 --- a/itf/templates/modules/scriptbank/script.html +++ b/itf/templates/modules/scriptbank/script.html @@ -161,8 +161,12 @@ $(function() {
+ {% if r.person.get_absolute_url %} {{ r.person.first_name }} {{ r.person.last_name }} -
{{ r.role }}: {{ r.name }}
+ {% else %} +
{{ r.person }}
+ {% endif %} +
{{ r.role }}: {{ r.assoc_name }}