Ticket #952 link to xml source added to book details.
authorLukasz Anwajler <lukasz@anwajler.com>
Fri, 26 Nov 2010 21:36:45 +0000 (15:36 -0600)
committerLukasz Anwajler <lukasz@anwajler.com>
Fri, 26 Nov 2010 21:36:45 +0000 (15:36 -0600)
wolnelektury/templates/catalogue/book_detail.html

index ffb586b..125b9bb 100644 (file)
                     {% for tag in categories.genre %}
                     <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
                     {% endfor %}
-                </li>
-                <li>
-                    <a href="{{ book.xml_file.url }}">{% trans "View XML source" %}</a>
-                </li>                
+                </li>              
             </ul>
             <h2>{% trans "Other resources" %}</h2>
             <ul>
                 <li><a href="{{ book.wiki_link }}">{% trans "Book description on Wikipedia" %}</a></li>
                 {% endif %}
             </ul>
+            <p><a href="{{ book.xml_file.url }}">{% trans "View XML source" %}</a></p>
         </div>
         <div id="themes-list">
             <h2>{% trans "Work's themes " %}</h2>