changed labels from contexts to infras
This commit is contained in:
parent
5828258d11
commit
e08c990cc3
|
@ -108,7 +108,7 @@ class CCPMethodList2 extends HTMLElement{
|
||||||
<span name="keyword" class="badge badge-pill badge-light border border-dark mr-1" style="opacity:.6"></span>
|
<span name="keyword" class="badge badge-pill badge-light border border-dark mr-1" style="opacity:.6"></span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span name="context" class="badge badge-light text-info border border-info mr-1"></span>
|
<span name="infrastructures" class="badge badge-light text-info border border-info mr-1"></span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -371,9 +371,9 @@ class CCPMethodList2 extends HTMLElement{
|
||||||
apply : (e,d)=>{ e.alt = e.title = e.textContent = d }
|
apply : (e,d)=>{ e.alt = e.title = e.textContent = d }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
target : "span[name=context]",
|
target : "span[name=infrastructures]",
|
||||||
"in" : (e,d)=>d.metadata.filter(md=>md.role === "context"),
|
"in" : (e,d)=>d.links.filter(md=>md.rel === "compatibleWith"),
|
||||||
apply : (e,d)=>{ e.alt = e.title = e.textContent = d.title.replaceAll("%2F", "/") }
|
apply : (e,d)=>{ e.alt = e.title = e.textContent = d.title }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
target : "p[name=description]",
|
target : "p[name=description]",
|
||||||
|
|
Loading…
Reference in New Issue