{% block bodyid %}book-detail{% endblock %}
{% block body %}
<h1>{{ book.title }}, {{ categories.author|join:", " }}</h1>
<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
{% block bodyid %}book-detail{% endblock %}
{% block body %}
<h1>{{ book.title }}, {{ categories.author|join:", " }}</h1>
<form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
<div id="books-list">
{% if extra_info.license %}
<p>{% trans "Work is licensed under " %}<a href="{{ extra_info.license }}">{{ extra_info.license_description }}</a>.</p>
<div id="books-list">
{% if extra_info.license %}
<p>{% trans "Work is licensed under " %}<a href="{{ extra_info.license }}">{{ extra_info.license_description }}</a>.</p>
<p>{% trans "Artist" %}: {{ book.get_extra_info_value.artist_name }}</p>
{% if book.get_extra_info_value.director_name %}
<p>{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}</p>
<p>{% trans "Artist" %}: {{ book.get_extra_info_value.artist_name }}</p>
{% if book.get_extra_info_value.director_name %}
<p>{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}</p>
{% if book.mp3_file %}<a href="{{ book.mp3_file.url }}">{% trans "Download MP3" %}</a>{% endif %}
{% if book.ogg_file %}<a href="{{ book.ogg_file.url }}">{% trans "Download Ogg Vorbis" %}</a>{% endif %}
{% if book.mp3_file %}
{% if book.mp3_file %}<a href="{{ book.mp3_file.url }}">{% trans "Download MP3" %}</a>{% endif %}
{% if book.ogg_file %}<a href="{{ book.ogg_file.url }}">{% trans "Download Ogg Vorbis" %}</a>{% endif %}
{% if book.mp3_file %}
- <object type="application/x-shockwave-flash" style="margin-top: 0.5em" data="/static/player.swf" width="426" height="20">
- <param name="movie" value="/static/player.swf" />
+ <object type="application/x-shockwave-flash" style="margin-top: 0.5em" data="{{ STATIC_URL }}player.swf" width="426" height="20">
+ <param name="movie" value="{{ STATIC_URL }}player.swf" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3={{ book.mp3_file.url }}&width=426&showvolume=1&bgcolor1=eeeeee&bgcolor2=eeeeee&buttoncolor=666666" />
</object>
{% endif %}
</div>
</div>
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3={{ book.mp3_file.url }}&width=426&showvolume=1&bgcolor1=eeeeee&bgcolor2=eeeeee&buttoncolor=666666" />
</object>
{% endif %}
</div>
</div>
<h2>{% trans "Other resources" %}</h2>
<ul>
<li><a href="{{ extra_info.about }}">{% trans "Book on project's wiki" %}</a></li>
<h2>{% trans "Other resources" %}</h2>
<ul>
<li><a href="{{ extra_info.about }}">{% trans "Book on project's wiki" %}</a></li>
{% if book.gazeta_link %}
<li><a href="{{ book.gazeta_link }}">{% trans "Book description on Lektury.Gazeta.pl" %}</a></li>
{% endif %}
{% if book.gazeta_link %}
<li><a href="{{ book.gazeta_link }}">{% trans "Book description on Lektury.Gazeta.pl" %}</a></li>
{% endif %}