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>
|
||||
</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>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -371,9 +371,9 @@ class CCPMethodList2 extends HTMLElement{
|
|||
apply : (e,d)=>{ e.alt = e.title = e.textContent = d }
|
||||
},
|
||||
{
|
||||
target : "span[name=context]",
|
||||
"in" : (e,d)=>d.metadata.filter(md=>md.role === "context"),
|
||||
apply : (e,d)=>{ e.alt = e.title = e.textContent = d.title.replaceAll("%2F", "/") }
|
||||
target : "span[name=infrastructures]",
|
||||
"in" : (e,d)=>d.links.filter(md=>md.rel === "compatibleWith"),
|
||||
apply : (e,d)=>{ e.alt = e.title = e.textContent = d.title }
|
||||
},
|
||||
{
|
||||
target : "p[name=description]",
|
||||
|
|
Loading…
Reference in New Issue