diff --git a/templates/auction/offer_table.js b/templates/auction/offer_table.js
index 0aa6373..2feefc4 100644
--- a/templates/auction/offer_table.js
+++ b/templates/auction/offer_table.js
@@ -6,7 +6,7 @@
{
from: "",
tableHeader: [
- {% for offer in object_list %}['{{ offer.roomcategory.establishment.name }}
{% autoescape off %}{% stars offer.roomcategory.establishment.stars offer.roomcategory.establishment.superior orange %}{% endautoescape %}{% if offer.roomcategory.establishment.image %}
{% endif %}'],{% endfor %}
+ {% for offer in object_list %}['{{ offer.roomcategory.establishment.name }}
{% if offer.roomcategory.establishment.image %}
{% endif %}'],{% endfor %}
],
rows : [
{
@@ -19,9 +19,10 @@
},
{
rowVal: [
+ [{% for offer in object_list %}'{% autoescape off %}{% stars offer.roomcategory.establishment.stars offer.roomcategory.establishment.superior orange %}{% endautoescape %}',{% endfor %}],
[{% for offer in object_list %}{% autoescape off %}'{% hearts 3 red %} (304)'{% endautoescape %},{% endfor %}]
],
- rowDesc: ["Bewertungen"]
+ rowDesc: ["Sterne", "Bewertungen"]
},
{
rowVal: [
@@ -32,7 +33,7 @@
},
{
rowVal: [
- [{% for offer in object_list %}'{{ offer.comment }}',{% endfor %}]
+ [{% for offer in object_list %}'{% if offer.comment %}{{ offer.comment }}{% else %} {% endif %}',{% endfor %}]
],
rowDesc: ["Zusätzliche Angaben"]
},