Skip to content
Snippets Groups Projects
Commit 775f30ab authored by sebastien dupuy's avatar sebastien dupuy
Browse files

arrondi au dixieme pour l indice de maturité des structures

parent 74d6a5bb
No related branches found
No related tags found
No related merge requests found
Pipeline #38284 failed
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div v-for="t in territories" :key="t.id" :class="`col-md-4 mb-4 ${territories.length > 1 ? 'border-right' : ''}`"> <div v-for="t in territories" :key="t.id" :class="`col-md-4 mb-4 ${territories.length > 1 ? 'border-right' : ''}`">
<b>{{ t.name }}</b> <br/> <b>{{ t.name }}</b> <br/>
<small>Indice de maturité cyber</small> <br/> <small>Indice de maturité cyber</small> <br/>
<span v-if="t.organizations.length"> {{ t.current_maturity_cyber }}</span> <span v-else>-</span> <span v-if="t.organizations.length"> {{ Math.round(t.current_maturity_cyber * 10)/10 }}</span> <span v-else>-</span>
<div class="progress progress-xs"> <div class="progress progress-xs">
<div class="progress-bar bg-success" role="progressbar" :style="{ 'width' : `${t.current_maturity_cyber / 3 * 100}%`}" aria-valuemin="0" aria-valuemax="100"></div> <div class="progress-bar bg-success" role="progressbar" :style="{ 'width' : `${t.current_maturity_cyber / 3 * 100}%`}" aria-valuemin="0" aria-valuemax="100"></div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment