#1000: remove buggy links to source on wiki
[wolnelektury.git] / wolnelektury / templates / catalogue / book_detail.html
index f3a7b53..11edda8 100644 (file)
@@ -61,9 +61,9 @@
                     <p class="header">
                         <span class="desc">{% trans "Audiobooks" %}:</span>
                         <span class="audiotabs">
                     <p class="header">
                         <span class="desc">{% trans "Audiobooks" %}:</span>
                         <span class="audiotabs">
-                            {% if book.has_mp3_file %}<span class="active">MP3</span>{% endif %}
-                            {% if book.has_ogg_file %}<span>OGG</span>{% endif %}
-                            {% if book.has_daisy_file %}<span>DAISY</span>{% endif %}
+                            {% if book.has_mp3_file %}<span class="active" data-format="mp3">MP3</span>{% endif %}
+                            {% if book.has_ogg_file %}<span data-format="ogg">Ogg Vorbis</span>{% endif %}
+                            {% if book.has_daisy_file %}<span data-format="daisy">DAISY</span>{% endif %}
                         </span>
                     </p>
                     <div class="audiobooks">
                         </span>
                     </p>
                     <div class="audiobooks">
             </ul>
             <h2>{% trans "Other resources" %}</h2>
             <ul>
             </ul>
             <h2>{% trans "Other resources" %}</h2>
             <ul>
-                <li><a href="{{ extra_info.about }}">{% trans "Book on project's wiki" %}</a></li>
                 {% if extra_info.source_url %}
                 <li><a href="{{ extra_info.source_url }}">{% trans "Source of the book" %}</a></li>
                 {% endif %}
                 {% if extra_info.source_url %}
                 <li><a href="{{ extra_info.source_url }}">{% trans "Source of the book" %}</a></li>
                 {% endif %}