93bccb3973ed6f980b854a71dfacbac6ccdf6de9
[wolnelektury.git] / wolnelektury / templates / lessons / ajax_document_detail.html
1 <div>
2     <p class="download"><a href="{{ object.file.url }}">Pobierz</a> {% if object.author %}(autor: {{ object.author }}){% endif %}</p>
3     <h2>{{ object.title }}</h2>
4     {% if object.slideshare_id %}
5     <object style="margin:0px" width="480" height="400">
6         <param name="movie" value="http://static.slidesharecdn.com/swf/{{ object.slideshare_player }}?doc={{ object.slideshare_id }}&rel=0&stripped_title={{ object.name|slugify }}" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/{{ object.slideshare_player }}?doc={{ object.slideshare_id }}&rel=0&stripped_title={{ object.name|slugify }}" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="400"></embed></object>
7     {% endif %}
8     {% if object.description %}
9         <p>{{ object.description|urlize|linebreaks }}</p>
10     {% endif %}
11 </div>