Bug 20772: Fix malformed class name
Supplier metadata elements have a dynamically formed class name, part of the name is formed from the metadata key, this breaks if the key has a space, so we replace spaces Signed-off-by: Barry Cannon <bc@interleaf.ie> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
731f83a85e
commit
300b12a37d
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@
|
|||
<div class="rows">
|
||||
<h4>Details from supplier ([% request.backend | html %])</h4>
|
||||
[% FOREACH meta IN request.metadata %]
|
||||
<div class="requestmeta-[% meta.key | html %]">
|
||||
<div class="requestmeta-[% meta.key.replace('\s','_') | html %]">
|
||||
<span class="label">[% meta.key | html %]:</span>
|
||||
[% meta.value | html %]
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue