make the semantic ;evel box appear for term only linked with wikipedia, not exclusively dbpedia
authorymh <ymh.work@gmail.com>
Mon, 01 Jul 2013 19:01:52 +0200
changeset 56 f0b6be72761d
parent 55 bcbd95da9be2
child 57 a82c3913c1fc
make the semantic ;evel box appear for term only linked with wikipedia, not exclusively dbpedia
src/jocondelab/templates/jocondelab/term_edit.html
--- a/src/jocondelab/templates/jocondelab/term_edit.html	Mon Jul 01 17:11:44 2013 +0200
+++ b/src/jocondelab/templates/jocondelab/term_edit.html	Mon Jul 01 19:01:52 2013 +0200
@@ -126,7 +126,7 @@
             {% endif %}
             </span>
             <span>
-            {% if term.dbpedia_uri and term.dbpedia_uri != ""  %}
+            {% if term.wikipedia_url and term.wikipedia_url != ""  %}
             <select id="link_semantic_level" name="link_semantic_level">
             {% for val, label in link_semantic_level_choice %}
             <option value="{{ val }}" {% if term.link_semantic_level == val %}selected="selected"{% endif %} >{{ label }}</option>