Ver código fonte

removed category

Juan Carlos 5 anos atrás
pai
commit
3da6000e25
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      marktplatz/templates/marktplatz/admin_panel.html

+ 2 - 2
marktplatz/templates/marktplatz/admin_panel.html

@@ -25,11 +25,11 @@
     <tr class="">
       <td scope="col"><img src="{{product.media_set.first.image_small.url}}" width="50" height="50" alt="{{ product.pk }}"> </td>
       <td scope="col"> <a href="{% url 'product-detail' product.pk %}"> {{product.name|upper }} </a></td>
-      <td scope="col">
+      <!-- <td scope="col">
         {% for category in product.category.all %}
         {{category.short_name}}{% if not forloop.last %} | {% endif %}
         {% endfor %}
-      </td>
+      </td> -->
       <td scope="col">
         <input type="checkbox" class="form-check-input check" id="{{ product.pk }}.public_dummy" name="dummy_product_p.{{ product.pk }}.public" {% if product.public %}checked value="true" {% else %} value="false" {% endif %}
           onclick="if(this.checked){ this.nextElementSibling.setAttribute('value', 'true') }else{ this.nextElementSibling.setAttribute('value', 'false') }">