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

index f4eac19..67ad08b 100644 (file)
@@ -11,7 +11,9 @@
             </p>
 
         {% endfor %}
             </p>
 
         {% endfor %}
-            <span class="instruction">Przeciągnij odpowiedzi i upuść w wybranym polu.</span>
+            {% if not exercise.hide_default_instruction %}
+                <span class="instruction">Przeciągnij odpowiedzi i upuść w wybranym polu.</span>
+            {% endif %}
         </div>
 
         <p class="paragraph">{{exercise.buckets_name|default:"kategorie"|capfirst}}:</p>
         </div>
 
         <p class="paragraph">{{exercise.buckets_name|default:"kategorie"|capfirst}}:</p>
@@ -30,6 +32,9 @@
 
         <div class="description" style="margin-bottom:10px;">
             <p class="paragraph">{{exercise.items_name|capfirst}}:</p>
 
         <div class="description" style="margin-bottom:10px;">
             <p class="paragraph">{{exercise.items_name|capfirst}}:</p>
+            {% if exercise.items_instruction %}
+                <span class="instruction">{{exercise.items_instruction}}</span>
+            {% endif %}
         </div>
          
         <ul class="lista punkt subject {% if exercise.items_inline %}wtem-items-inline{% endif %}" data-target="kategorie">
         </div>
          
         <ul class="lista punkt subject {% if exercise.items_inline %}wtem-items-inline{% endif %}" data-target="kategorie">
index 952b3e9..3dc2d81 100644 (file)
@@ -29,6 +29,9 @@
     .wtem-items-inline li {
         display: inline-block;
     }
     .wtem-items-inline li {
         display: inline-block;
     }
+    .instruction {
+        font-weight: bold;
+    }
 
 </style>
 
 
 </style>