license disclaimer
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 8 Nov 2013 11:42:11 +0000 (12:42 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 15 Jan 2014 10:18:58 +0000 (11:18 +0100)
wtem/templates/wtem/exercises/edumed_przyporzadkuj.html
wtem/templates/wtem/main.html

index 67ad08b..2a6916b 100644 (file)
@@ -48,7 +48,7 @@
                         <span data-solution="1" data-no="{{forloop.counter}}" data-id="{{item.id}}" class="question-piece draggable ui-draggable">{{item.text}}</span>
                         
                         {% if item.href %}
                         <span data-solution="1" data-no="{{forloop.counter}}" data-id="{{item.id}}" class="question-piece draggable ui-draggable">{{item.text}}</span>
                         
                         {% if item.href %}
-                            <a href="/static/wtem/img/{{item.href}}">
+                            <a href="{% if not item.href_absolute %}/static/wtem/img/{% endif %}{{item.href}}">
                         {% endif %}
                         
                         <img src="/static/wtem/img/{{item.img}}"/>
                         {% endif %}
                         
                         <img src="/static/wtem/img/{{item.img}}"/>
 
         <br class="clr">
 
 
         <br class="clr">
 
+        {% if exercise.description_after %}
+            {% autoescape off %}
+            {% for para in exercise.description_after %}
+                <p class="paragraph">
+                    {{para}}
+                </p>
+            {% endfor %}
+            {% endautoescape %}
+        {% endif %}
+
     </div>
 
 </div>
     </div>
 
 </div>
index 3dc2d81..d083cd2 100644 (file)
     .instruction {
         font-weight: bold;
     }
     .instruction {
         font-weight: bold;
     }
+    .wtem-disclaimer {
+        font-style: italic;
+        font-size: .9em;
+    }
 
 </style>
 
 
 </style>