damino no display "after conversion to allatom"
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Fri, 2 Feb 2018 10:30:20 +0000 (11:30 +0100)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Fri, 2 Feb 2018 10:30:20 +0000 (11:30 +0100)
django_simple/todo/templates/details.html
django_simple/todo/templates/details1.html

index c83f70e..af52ac5 100644 (file)
@@ -599,8 +599,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li> -->                       
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model1 after conversion 
-                         to allatom {{ task.remd_model1|linebreaks }}
+                         <div class="col-md-2"> model1 
+                         {% if not task.damino %}
+                         after conversion to allatom 
+                         {% endif %}
+                         {{ task.remd_model1|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M1"
                          style="width:500px;height:500px;"> 
@@ -632,8 +635,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li> -->
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model2 after conversion 
-                         to allatom {{ task.remd_model2|linebreaks }}
+                         <div class="col-md-2"> model2 
+                         {% if not task.damino %}
+                         after conversion to allatom
+                         {% endif %}
+                         {{ task.remd_model2|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M2"
                          style="width:500px;height:500px;"> 
@@ -666,8 +672,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li>-->
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model3 after conversion 
-                         to allatom {{ task.remd_model3|linebreaks }}
+                         <div class="col-md-2"> model3 
+                         {% if not task.damino %}
+                         after conversion to allatom
+                         {% endif %}
+                         {{ task.remd_model3|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M3"
                          style="width:500px;height:500px;"> 
@@ -699,8 +708,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li>-->
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model4 after conversion 
-                         to allatom {{ task.remd_model4|linebreaks }}
+                         <div class="col-md-2"> model4 
+                         {% if not task.damino %}
+                         after conversion to allatom
+                         {% endif %}
+                         {{ task.remd_model4|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M4"
                          style="width:500px;height:500px;"> 
@@ -732,8 +744,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li>-->
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model5 after conversion 
-                         to allatom {{ task.remd_model5|linebreaks }}
+                         <div class="col-md-2"> model5 
+                         {% if not task.damino %}
+                         after conversion to allatom 
+                         {% endif %}
+                         {{ task.remd_model5|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M5"
                          style="width:500px;height:500px;"> 
index f2d9c48..e375b92 100644 (file)
@@ -599,8 +599,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li> -->                       
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model1 after conversion 
-                         to allatom {{ task.remd_model1|linebreaks }}
+                         <div class="col-md-2"> model1 
+                         {% if not task.damino %}
+                         after conversion to allatom 
+                         {% endif %}
+                         {{ task.remd_model1|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M1"
                          style="width:500px;height:500px;"> 
@@ -632,8 +635,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li> -->
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model2 after conversion 
-                         to allatom {{ task.remd_model2|linebreaks }}
+                         <div class="col-md-2"> model2 
+                         {% if not task.damino %}
+                         after conversion to allatom
+                         {% endif %}
+                         {{ task.remd_model2|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M2"
                          style="width:500px;height:500px;"> 
@@ -666,8 +672,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li>-->
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model3 after conversion 
-                         to allatom {{ task.remd_model3|linebreaks }}
+                         <div class="col-md-2"> model3 
+                         {% if not task.damino %}
+                         after conversion to allatom
+                         {% endif %}
+                         {{ task.remd_model3|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M3"
                          style="width:500px;height:500px;"> 
@@ -699,8 +708,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li>-->
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model4 after conversion 
-                         to allatom {{ task.remd_model4|linebreaks }}
+                         <div class="col-md-2"> model4 
+                         {% if not task.damino %}
+                         after conversion to allatom
+                         {% endif %}
+                         {{ task.remd_model4|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M4"
                          style="width:500px;height:500px;"> 
@@ -732,8 +744,11 @@ Created {{ task.created_date  }}
                          </a></div>
                        </li>-->
                        <li class="list-group-item task-item">
-                         <div class="col-md-2"> model5 after conversion 
-                         to allatom {{ task.remd_model5|linebreaks }}
+                         <div class="col-md-2"> model5 
+                         {% if not task.damino %}
+                         after conversion to allatom 
+                         {% endif %}
+                         {{ task.remd_model5|linebreaks }}
                          NGL viewer</div>
                          <div class="col-md-10" id="viewport_M5"
                          style="width:500px;height:500px;">