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

warn deprecated termsé

parent 15c2622a
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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>