Added extra_info field to Book model.
[wolnelektury.git] / wolnelektury / templates / catalogue / main_page.html
index 107d27d..65e4d77 100644 (file)
@@ -20,7 +20,7 @@
                 {% if shelves %}
                 <ul class="shelf-list">
                 {% for shelf in shelves %}
-                    <li><a href="{% url delete_shelf shelf.slug %}" class="delete-shelf">usuń</a> <a href="{{ shelf.get_absolute_url }}" class="visit-shelf">{{ shelf.name }}</a></li>
+                    <li><a href="{% url delete_shelf shelf.slug %}" class="delete-shelf">usuń</a> <a href="{{ shelf.get_absolute_url }}" class="visit-shelf">{{ shelf.name }} ({{ shelf.book_count }})</a></li>
                 {% endfor %}
                 </ul>
                 {% else %}
             {% cache 1800 latest-blog-posts %}
             {% latest_blog_posts "http://wolnepodreczniki.pl/feed/?s=Wolne%20Lektury" %}
             {% endcache %}
-            <p class="see-more"><a href="http://wolnepodreczniki.pl/">Zobacz nasze blog ⇒</a></p>
+            <p class="see-more"><a href="http://wolnepodreczniki.pl/">Zobacz nasz blog ⇒</a></p>
         </div>
         <div id="you-can-help">
             <h2>Możesz nam pomóc!</h2>