minor fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Thu, 20 Jun 2013 13:09:07 +0000 (15:09 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Thu, 20 Jun 2013 13:09:07 +0000 (15:09 +0200)
catalogue/templates/catalogue/snippets/carousel.html

index 82984cf..34b1d3c 100755 (executable)
@@ -1,9 +1,10 @@
 {% load url from future %}
 {% load url from future %}
+{% load static %}
 
 {% url "info" "jak-korzystac/" as jak %}
 <section id="catalogue-carousel">
     <ul id="catalogue-carousel-links">
 
 {% url "info" "jak-korzystac/" as jak %}
 <section id="catalogue-carousel">
     <ul id="catalogue-carousel-links">
-        <li style="background-image: url(/static/carousel/img1.jpg); z-index: 100;">
+        <li style="background-image: url({% static 'carousel/img1.jpg' %}); z-index: 100;">
             <a href="{{ jak }}" class="catalogue-carousel-link">
                 <div class="catalogue-carousel-note">
                     <p><strong>{{ lessons_count }}</strong> <em>{{ lessons_desc }}</em>
             <a href="{{ jak }}" class="catalogue-carousel-link">
                 <div class="catalogue-carousel-note">
                     <p><strong>{{ lessons_count }}</strong> <em>{{ lessons_desc }}</em>