Commit ae422769 authored by Maxime Lefrançois's avatar Maxime Lefrançois

warn deprecated termsé

parent 15c2622a
......@@ -18,7 +18,13 @@ TEMPLATE <term/main.rqg>( ?term ) {
<div class="g-container">
<div class="g-block size-100">
<div class="g-content g-particle">
<h1><a href="{?term}">{?prefix}{?localName}</a> ({ TEMPLATE <term/label.rqg>( ?term ) . })</h1>
<h1><a href="{?term}">{?prefix}{?localName}</a> ({ TEMPLATE <term/label.rqg>( ?term ) . } {
TEMPLATE {
' <span class="alert alert-danger" role="alert"> &#9888; { fun:property(<en.properties>, 'deprecated') }</span>'
} WHERE {
?term owl:deprecated true .
} .
})</h1>
<p><em>Defined in <a href="{?ontoRef}">{?ontoRef}</a> as: </em></p>
<p>{ TEMPLATE { ?description ; separator = "<br/>\n"} WHERE { ?term rdfs:comment ?description } . }</p>
<dl>
......
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