mirror of
https://github.com/odoo/runbot.git
synced 2025-06-02 06:38:02 +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>
|
||||||
|
|
||||||
<template id="runbot.badge_default">
|
<template id="runbot.badge_default"><?xml version="1.0"?>
|
||||||
<!-- from https://github.com/badges/shields/tree/master/templates -->
|
<svg t-attf-xmlns="http://www.w3.org/2000/svg" t-attf-width="{{left.width + right.width}}" height="18">
|
||||||
<svg 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%">
|
<linearGradient id="smooth" x2="0" y2="100%">
|
||||||
<stop offset="0" stop-color="#fff" stop-opacity=".7"/>
|
<stop offset="0" stop-color="#fff" stop-opacity=".7"/>
|
||||||
<stop offset=".1" stop-color="#aaa" stop-opacity=".1"/>
|
<stop offset=".1" stop-color="#aaa" stop-opacity=".1"/>
|
||||||
@ -608,9 +608,9 @@ http {
|
|||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
</template>
|
</template>
|
||||||
<template id="runbot.badge_flat">
|
<template id="runbot.badge_flat"><?xml version="1.0"?>
|
||||||
<!-- from https://github.com/badges/shields/tree/master/templates -->
|
<svg t-attf-xmlns="http://www.w3.org/2000/svg" t-attf-width="{{left.width + right.width}}" height="20">
|
||||||
<svg 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%">
|
<linearGradient id="smooth" x2="0" y2="100%">
|
||||||
<stop offset="0" stop-color="#fff" stop-opacity=".1"/>
|
<stop offset="0" stop-color="#fff" stop-opacity=".1"/>
|
||||||
<stop offset=".1" stop-color="#fff" stop-opacity=".1"/>
|
<stop offset=".1" stop-color="#fff" stop-opacity=".1"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user