Tweaking tag clounds look
[prawokultury.git] / questions / templates / questions / question_list.html
index 7206487..f279208 100755 (executable)
@@ -11,8 +11,8 @@
 <h2>Zadaj nam pytanie!</h2>
 <p>Jeżeli masz pytanie dotyczące prawa autorskiego, którego nie ma na poniższej liście, i na które nie znalazłeś/znalazłaś
 odpowiedzi w <strong><a href="{% url 'migdal_entry_publications' 'pierwsza-pomoc' %}">przewodniku
-po prawie autorskim</a></strong>, możesz je nam zadać
-<strong><a href="{% url 'questions_form' %}">za pomocą specjalnego formularza</a></strong>.
+po prawie autorskim</a></strong>, możesz je nam zadać dzwoniąc w każdą środę w godz. 11-13 pod numer +48 516 519 697 lub
+<strong><a href="{% url 'questions_form' %}">za pomocą specjalnego formularza.</a></strong>.
 
 <p>Na pytania odpowiada dr Krzysztof Siewicz, prawnik
 specjalizujący się w prawnych aspektach przetwarzania informacji. Dr
@@ -32,9 +32,9 @@ doświadczenie doradcze w tej tematyce.</p>
     <h2>Filtruj pytania</h2>
     Wybierz kategorię tematów:
     <div id="questions-categories">
-    <a href="#" {% if not tag.category %}class="selected"{% endif %} data-category-id="0">bez kategorii</a>
-    {% for category in tag_categories %} /
-            <a href="#" style="font-size: {{category.factor}}em;" {% if tag.category == category %}class="selected"{% endif %} data-category-id="{{category.id}}">{{category}}</a>
+    <a href="#" {% if tag and not tag.category %}class="selected"{% endif %} data-category-id="0">bez kategorii</a>
+    {% for category in tag_categories %}
+            <a href="#" style="font-size: {{category.cloud_size}}em;" {% if tag.category == category %}class="selected"{% endif %} data-category-id="{{category.id}}">{{category}}</a>
     {% endfor %}
     </div>
 
@@ -42,9 +42,9 @@ doświadczenie doradcze w tej tematyce.</p>
     {% for category_id, tag_list in tag_lists.items %}
         <div class="questions-tags-group" data-category-id="{{category_id}}">
         Wyświetl tylko na temat:
-        {% for atag in tag_list %} {% if not forloop.first %}/{% endif %}
-            {% if atag == tag %}<strong style="font-size: {{atag.factor}}em;">{{ atag }}</strong>
-            {% else %}<a href="?tag={{ atag.slug }}" style="font-size: {{atag.factor}}em;">{{ atag }}</a>
+        {% for atag in tag_list %}
+            {% if atag == tag %}<strong style="font-size: {{atag.cloud_size}}em;">{{ atag }}</strong>
+            {% else %}<a href="?tag={{ atag.slug }}" style="font-size: {{atag.cloud_size}}em;">{{ atag }}</a>
             {% endif %}
         {% endfor %}
         </div>
@@ -81,4 +81,4 @@ doświadczenie doradcze w tej tematyce.</p>
 
 {% block "extra_js" %}
     {% compressed_js 'questions' %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}