From 54ea276b40b952b56f43af42b80478bfdde50241 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Fri, 26 Feb 2010 11:39:09 +0100 Subject: [PATCH] prevent output of the comma in the last loop iteration. fixes #75 --- pyweb/mumble/templates/mumble/mumble.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyweb/mumble/templates/mumble/mumble.html b/pyweb/mumble/templates/mumble/mumble.html index 326233c..0d54317 100644 --- a/pyweb/mumble/templates/mumble/mumble.html +++ b/pyweb/mumble/templates/mumble/mumble.html @@ -335,7 +335,7 @@ ] }, {% for item in ChannelTable %} - { contentEl: 'mumble_{{ item.id }}', id: 'carditem_{{ item.id }}' }, + { contentEl: 'mumble_{{ item.id }}', id: 'carditem_{{ item.id }}' }{% if not forloop.last %},{% endif %} {% endfor %} ] });