Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix table style

dominik-zeglenf4d47b0f8329
diff --git a/templates/dashboard/group/list.html b/templates/dashboard/group/list.html
index 7a1bbb9c99..3378e78556 100644
--- a/templates/dashboard/group/list.html
+++ b/templates/dashboard/group/list.html
@@ -49,7 +49,7 @@
<td>
{{ group.name }}
</td>
- <td>
+ <td class="nowrap">
{% for permission in group.permissions %}
{{ permission.name }},
{% endfor %}
diff --git a/templates/dashboard/product/product_class/list.html b/templates/dashboard/product/product_class/list.html
index 0a5a30f838..713dae0fbb 100644
--- a/templates/dashboard/product/product_class/list.html
+++ b/templates/dashboard/product/product_class/list.html
@@ -41,9 +41,8 @@
<thead>
<tr>
<th>{% trans "Name" context "Dashboard product types list table header name" %}</th>
- <th>{% trans "Variants" context "Dashboard variants" %}</th>
- <th>{% trans "Variant attributes" context "Product type item list text" %}</th>
<th>{% trans "Product attributes" context "Product type item list text" %}</th>
+ <th>{% trans "Variant attributes" context "Product type item list text" %}</th>
</tr>
</thead>
<tbody>
@@ -53,10 +52,10 @@
{{ name }}
</td>
<td>
- {% if has_variants %}
- {% trans "Yes" %}
+ {% if product_attributes %}
+ {{ product_attributes|join:", " }}
{% else %}
- {% trans "No" %}
+ {% trans "None" %}
{% endif %}
</td>
<td>
@@ -66,13 +65,6 @@
{% trans "None" %}
{% endif %}
</td>
- <td>
- {% if product_attributes %}
- {{ product_attributes|join:", " }}
- {% else %}
- {% trans "None" %}
- {% endif %}
- </td>
</tr>
{% endfor %}
</tbody>