minor fixes
This commit is contained in:
parent
a81804b0f6
commit
78058492c8
|
@ -206,9 +206,10 @@ class CCPMethodList2 extends HTMLElement{
|
||||||
{
|
{
|
||||||
target : "summary > h5",
|
target : "summary > h5",
|
||||||
apply : (e,d)=>{
|
apply : (e,d)=>{
|
||||||
|
const executables = this.#filtered[d].filter(m=>m.executable).length
|
||||||
e.innerHTML = `
|
e.innerHTML = `
|
||||||
${d} <span style="opacity:.6" title="Number of versions" class="badge badge-pill badge-light">${this.#filtered[d].length}</span>
|
${d} <span title="Number of non executable versions" class="badge badge-danger float-right">${this.#filtered[d].length - executables}</span>
|
||||||
<span style="opacity:.6" title="Number of executables" class="badge badge-pill badge-success">${this.#filtered[d].filter(m=>m.executable).length}</span>` }
|
<span title="Number of executable versions" class="badge badge-success float-right">${executables}</span>` }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
target : "details ul[name=process_list]",
|
target : "details ul[name=process_list]",
|
||||||
|
|
Loading…
Reference in New Issue