Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix missed invalid static references
NyanKiyoshi59c61361008c
diff --git a/saleor/core/templatetags/placeholder.py b/saleor/core/templatetags/placeholder.pyindex 214f621b68..22e76d7306 100644--- a/saleor/core/templatetags/placeholder.py+++ b/saleor/core/templatetags/placeholder.py@@ -6,4 +6,4 @@ register = Library()@register.simple_tagdef placeholder(size):- return static('/images/placeholder{size}x{size}.png'.format(size=size))+ return static('images/placeholder{size}x{size}.png'.format(size=size))diff --git a/saleor/dashboard/templatetags/utils.py b/saleor/dashboard/templatetags/utils.pyindex 227def7937..478f94c0eb 100644--- a/saleor/dashboard/templatetags/utils.py+++ b/saleor/dashboard/templatetags/utils.py@@ -132,13 +132,13 @@ def sorting_header(context, field, label, is_wide=False):# new_sort_by is used to construct a link with already toggled# sort_by valuenew_sort_by = '-%s' % field- sorting_icon = static('/images/arrow-up-icon.svg')+ sorting_icon = static('images/arrow-up-icon.svg')else:# enable descending sortnew_sort_by = fieldif field == sort_by.strip('-'):is_active = True- sorting_icon = static('/images/arrow-down-icon.svg')+ sorting_icon = static('images/arrow-down-icon.svg')else:new_sort_by = fielddiff --git a/templates/dashboard/base.html b/templates/dashboard/base.htmlindex 80e254ed35..5287ee2400 100644--- a/templates/dashboard/base.html+++ b/templates/dashboard/base.html@@ -54,7 +54,7 @@</li></ul><a class="dropdown-button" data-constrainwidth="false" href="#" data-activates="user-action">- <svg data-src="{% static "/dashboard/images/account-circle.svg" %}" width="24" height="24" fill="#fff" />+ <svg data-src="{% static "dashboard/images/account-circle.svg" %}" width="24" height="24" fill="#fff" /></a>{% if SEARCH_IS_ENABLED %}<a href="{% url "dashboard:search" %}" class="dropdown-button hide-on-med-and-up" id="btn-search">