Chercheur edit
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / chercheurs / edit.html
index ae766e4..48b2f0d 100644 (file)
     <fieldset>
         <legend>Publications</legend>
         <div>
-            {% ifnotequal publication1_form.instance.titre None %}
             <div class="infotip">
               <strong>Renseignements préalablements enregistrés</strong>
-              <p>{{publication1_form.instance.publication_affichage}}</p>
+              <p>{{publication1_form.instance.publication_affichage|default:"-"}}</p>
             </div>
-            {% endifnotequal %}
             <div class="publication">
               {% with publication1_form as form %}
                   {% include "table_form.html" %}
         <p id="show_publications">+ Autres publications</p>
         <div class="publications_autre">
             <h6>- Publication 2</h6>
-            {% ifnotequal publication1_form.instance.titre None %}
             <div class="infotip">
               <strong>Renseignements préalablements enregistrés</strong>
-              <p>{{publication2_form.instance.publication_affichage}}</p>
+              <p>{{publication2_form.instance.publication_affichage|default:"-"}}</p>
             </div>
-            {% endifnotequal %}
             <div class="publication">
                 {% with publication2_form as form %}
                     {% include "table_form.html" %}
             </div>
             <div style="clear:both"></div>
             <h6>- Publication 3</h6>
-            {% ifnotequal publication3_form.instance.titre None %}
             <div class="infotip">
               <strong>Renseignements préalablements enregistrés</strong>
-              <p>{{publication3_form.instance.publication_affichage}}</p>
+              <p>{{publication3_form.instance.publication_affichage|default:"-"}}</p>
             </div>
-            {% endifnotequal %}
             <div class="publication">
                 {% with publication3_form as form %}
                     {% include "table_form.html" %}
             </div>
             <div style="clear:both"></div>     
             <h6>- Publication 4</h6>
-            {% ifnotequal publication4_form.instance.titre None %}
             <div class="infotip">
               <strong>Renseignements préalablements enregistrés</strong>
-              <p>{{publication4_form.instance.publication_affichage}}</p>
+              <p>{{publication4_form.instance.publication_affichage|default:"-"}}</p>
             </div>
-            {% endifnotequal %}
             <div class="publication">
                 {% with publication4_form as form %}
                     {% include "table_form.html" %}