mirror of
https://github.com/odoo/runbot.git
synced 2025-05-31 13:48:00 +07:00
[FIX] runbot: correct svg template
use `t-attf-xmlns` to avoid `xmlns` being handled by qweb xml parser itself
This commit is contained in:
parent
0705e42557
commit
b360ab6de4
@ -587,9 +587,9 @@ http {
|
||||
}
|
||||
</template>
|
||||
|
||||
<template id="runbot.badge_default">
|
||||
<!-- from https://github.com/badges/shields/tree/master/templates -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" t-attf-width="{{left.width + right.width}}" height="18">
|
||||
<template id="runbot.badge_default"><?xml version="1.0"?>
|
||||
<svg t-attf-xmlns="http://www.w3.org/2000/svg" t-attf-width="{{left.width + right.width}}" height="18">
|
||||
<!-- from https://github.com/badges/shields/tree/master/templates -->
|
||||
<linearGradient id="smooth" x2="0" y2="100%">
|
||||
<stop offset="0" stop-color="#fff" stop-opacity=".7"/>
|
||||
<stop offset=".1" stop-color="#aaa" stop-opacity=".1"/>
|
||||
@ -608,9 +608,9 @@ http {
|
||||
</g>
|
||||
</svg>
|
||||
</template>
|
||||
<template id="runbot.badge_flat">
|
||||
<!-- from https://github.com/badges/shields/tree/master/templates -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" t-attf-width="{{left.width + right.width}}" height="20">
|
||||
<template id="runbot.badge_flat"><?xml version="1.0"?>
|
||||
<svg t-attf-xmlns="http://www.w3.org/2000/svg" t-attf-width="{{left.width + right.width}}" height="20">
|
||||
<!-- from https://github.com/badges/shields/tree/master/templates -->
|
||||
<linearGradient id="smooth" x2="0" y2="100%">
|
||||
<stop offset="0" stop-color="#fff" stop-opacity=".1"/>
|
||||
<stop offset=".1" stop-color="#fff" stop-opacity=".1"/>
|
||||
|
Loading…
Reference in New Issue
Block a user