Skip to content

Commit 5bf2772

Browse files
[IMP] theme_test_custo: rename Img component to BuilderImg
The `Img` component has a confusing name, because in templates it looks too similar to the HTML tag `<img>`. To improve clarity, this commit changes the name to `Image`. task-5345698
1 parent 1e69f20 commit 5bf2772

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

theme_test_custo/static/src/builder/footer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<BuilderSelectItem title.translate="Custom Theme"
88
actionParam="{ view: 'theme_test_custo.template_footer_custom', vars: { 'footer-template': 'custom-theme' } }"
99
>
10-
<Img src="'/theme_test_custo/static/src/img/template_footer_opt.svg'" class="'theme_test_custo_footer'"/>
10+
<Image src="'/theme_test_custo/static/src/img/template_footer_opt.svg'" class="'theme_test_custo_footer'"/>
1111
</BuilderSelectItem>
1212
</xpath>
1313
</t>

theme_test_custo/static/src/builder/header.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
]"
1818
>
19-
<Img src="'/theme_test_custo/static/src/img/template_header_opt.svg'" class="'theme_test_custo_header'"/>
19+
<Image src="'/theme_test_custo/static/src/img/template_header_opt.svg'" class="'theme_test_custo_header'"/>
2020
</BuilderSelectItem>
2121
</xpath>
2222
</t>

0 commit comments

Comments
 (0)