Commit 39ac9dda authored by David Foucher's avatar David Foucher

Add condition to type_lbf propertie in webpage financements

parent 4cbf6a46
Pipeline #1397 failed with stage
......@@ -4,7 +4,7 @@
<dd if={ racine.endsWith('.rules') }><strong>Règles racine</strong>: <a href="#/rules/{ racine }">{ racine } <i class="icon">arrow_forward</i></a></dd>
<dd if={ !racine.endsWith('.rules') }><strong>Règles racine</strong>: { racine }</dd>
<dd><strong>Catégories</strong>: { _tags }</dd>
<dd><strong>Type LBF</strong>: { type_lbf }</dd>
<dd if={ type_lbf }><strong>Type LBF</strong>: { type_lbf }</dd>
<dd if={ ressources }><strong>Ressources</strong>:
<ul>
<li each={ ressource in ressources }><a href="{ ressource }">{ ressource }</a></li>
......@@ -24,7 +24,6 @@
for (var i = 0; i < this.financements.length; i++) {
// Riot sucks on `tags`…
this.financements[i]['_tags'] = this.financements[i]['tags'].toString()
this.financements[i]['type_lbf'] = this.financements[i]['type_lbf'].toString()
}
this.update()
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment