Browse Source

prevent output of the comma in the last loop iteration. fixes #75

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
54ea276b40
  1. 2
      pyweb/mumble/templates/mumble/mumble.html

2
pyweb/mumble/templates/mumble/mumble.html

@ -335,7 +335,7 @@
] ]
}, },
{% for item in ChannelTable %} {% 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 %} {% endfor %}
] ]
}); });

Loading…
Cancel
Save