Skip to content

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

Use svg icons

Mirae97e5359fa8e
diff --git a/templates/dashboard/product/attributes/detail.html b/templates/dashboard/product/attributes/detail.html
index 2dd743248b..09bb6c0cdc 100644
--- a/templates/dashboard/product/attributes/detail.html
+++ b/templates/dashboard/product/attributes/detail.html
@@ -1,6 +1,7 @@
{% extends 'dashboard/base.html' %}
{% load i18n %}
+{% load staticfiles %}
{% block title %}
{{ attribute }} - {% trans "Attributes" context "Attribute detail page title" %} - {{ block.super }}
@@ -12,7 +13,7 @@
{% block header_extra %}
<a class="dropdown-button right" href="#" data-activates="attribute-delete" data-constrainwidth="false">
- <i class="material-icons">more_vert</i>
+ <svg data-src="{% static "dashboard/images/more_vert.svg" %}" height="24" width="24" />
</a>
<ul id="attribute-delete" class="dropdown-content">
<li>
@@ -66,7 +67,7 @@
{% trans "Display name" context "Attribute field" %}
</h5>
<p>
- {{ attribute.display }}
+ {{ attribute.name }}
</p>
</div>
<div class="col s12 l9">
@@ -96,7 +97,7 @@
{% for value in attribute.values.all %}
<tr>
<td>
- {{ value.display }}
+ {{ value.name }}
</td>
<td>
{{ value.color }}
@@ -109,4 +110,4 @@
</div>
</div>
</div>
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/templates/dashboard/product/product_detail.html b/templates/dashboard/product/product_detail.html
index 017687f362..85846b7609 100644
--- a/templates/dashboard/product/product_detail.html
+++ b/templates/dashboard/product/product_detail.html
@@ -2,6 +2,7 @@
{% load i18n %}
{% load prices_i18n %}
+{% load staticfiles %}
{% block title %}
{{ product }} - {% trans "Products" context "Product form page title" %} - {{ block.super }}
@@ -33,7 +34,7 @@
{% block header_extra %}
<a class="dropdown-button right" href="#" data-activates="context-menu" data-constrainwidth="false">
- <i class="material-icons">more_vert</i>
+ <svg data-src="{% static "dashboard/images/more_vert.svg" %}" height="24" width="24" />
</a>
<ul id="context-menu" class="dropdown-content">
<li>
diff --git a/templates/dashboard/shipping/method_detail.html b/templates/dashboard/shipping/method_detail.html
index 75721ced56..94e6594f6e 100644
--- a/templates/dashboard/shipping/method_detail.html
+++ b/templates/dashboard/shipping/method_detail.html
@@ -2,6 +2,7 @@
{% load i18n %}
{% load prices_i18n %}
+{% load staticfiles %}
{% block title %}
{% trans "Shipping methods" context "Shipping method form page title" %}
@@ -34,7 +35,7 @@
{% block header_extra %}
<a class="dropdown-button right" href="#" data-activates="context-menu" data-constrainwidth="false">
- <i class="material-icons">more_vert</i>
+ <svg data-src="{% static "dashboard/images/more_vert.svg" %}" height="24" width="24" />
</a>
<ul id="context-menu" class="dropdown-content">
<li>
@@ -117,4 +118,4 @@
</div>
</div>
</div>
-{% endblock %}
\ No newline at end of file
+{% endblock %}