From: Aleksander Ɓukasz Date: Fri, 8 Nov 2013 10:19:43 +0000 (+0100) Subject: Thumbnails support for questions of type "przyporzadkuj", question update X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/779388f1f9ac282a73b70a37910cee109bc15047 Thumbnails support for questions of type "przyporzadkuj", question update --- diff --git a/wtem/static/wtem/img/AdWords_small.png b/wtem/static/wtem/img/AdWords_small.png new file mode 100644 index 0000000..7364241 Binary files /dev/null and b/wtem/static/wtem/img/AdWords_small.png differ diff --git a/wtem/static/wtem/img/lokowanie_produktu_small.png b/wtem/static/wtem/img/lokowanie_produktu_small.png new file mode 100644 index 0000000..8d7e31e Binary files /dev/null and b/wtem/static/wtem/img/lokowanie_produktu_small.png differ diff --git a/wtem/static/wtem/img/power_content_small.png b/wtem/static/wtem/img/power_content_small.png new file mode 100644 index 0000000..d66ecda Binary files /dev/null and b/wtem/static/wtem/img/power_content_small.png differ diff --git a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html index 8c0bcf5..5ad558e 100644 --- a/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html +++ b/wtem/templates/wtem/exercises/edumed_przyporzadkuj.html @@ -38,10 +38,17 @@ data-solution set to single bogus value only to indicate that this piece has no multiple solutions, not used otherwise (see: is_multiple in edumed.coffee). {% endcomment %} - {% if item.href %} + {% if item.img %}
  • {{item.text}} - + + {% if item.href %} + + {% endif %} + + + + {% if item.href %}{% endif %}
  • {% else %}
  • {{item.text}}