Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: 2bcaf38a by Cédric Krier at 2023-01-15T15:27:54+01:00 Define url_size on image of form Closes #12007 - - - - - 2 changed files: - trytond/trytond/ir/ui/form.rnc - trytond/trytond/ir/ui/form.rng Changes: ===================================== trytond/trytond/ir/ui/form.rnc ===================================== @@ -121,7 +121,7 @@ image = element image { attlist.image, empty } attlist.image &= attribute name { text } attlist.image &= [a:defaultValue = "icon"] attribute type { "icon" | "url" }? -attlist.affix &= attribute url_size { text }? +attlist.image &= attribute url_size { text }? attlist.image &= [a:defaultValue = "square"] attribute border { "square" | "circle" | "rounded" }? attlist.image &= [ a:defaultValue = "1" ] attribute colspan { text }? attlist.image &= ===================================== trytond/trytond/ir/ui/form.rng ===================================== @@ -573,7 +573,7 @@ </attribute> </optional> </define> - <define name="attlist.affix" combine="interleave"> + <define name="attlist.image" combine="interleave"> <optional> <attribute> <name ns="">url_size</name> View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/2bcaf38ad19a3178e01565995c408accb92b0cda -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/2bcaf38ad19a3178e01565995c408accb92b0cda You're receiving this email because of your account on foss.heptapod.net.