diff --git a/cps/templates/listenmp3.html b/cps/templates/listenmp3.html index 2067bf38..5b4bbdf7 100644 --- a/cps/templates/listenmp3.html +++ b/cps/templates/listenmp3.html @@ -26,6 +26,208 @@
++ {% for author in entry.ordered_authors %} + {{author.name.replace('|',',')}} + {% if not loop.last %} + & + {% endif %} + {% endfor %} +
+ {% if entry.ratings.__len__() > 0 %} ++ {% for number in range((entry.ratings[0].rating/2)|int(2)) %} + + {% if loop.last and loop.index < 5 %} + {% for numer in range(5 - loop.index) %} + + {% endfor %} + {% endif %} + {% endfor %} +
+{{_("Book %(index)s of %(range)s", index=entry.series_index | formatfloat(2), range=(url_for('web.books_list', data='series', sort_param='stored', book_id=entry.series[0].id)|escapedlink(entry.series[0].name))|safe)}}
+ + {% endif %} + + {% if entry.languages.__len__() > 0 %} ++ {{_('Language')}}: {% for language in entry.languages %}{{language.language_name}}{% if not loop.last %}, {% endif %}{% endfor %} +
++ + {% for identifier in entry.identifiers %} + {{identifier.format_type()}} + {%endfor%} +
++ + + {% for tag in entry.tags %} + {{tag.name}} + {%endfor%} +
+ ++ {{_('Publisher')}}: + {{entry.publishers[0].name}} + +
+{{_('Published')}}: {{entry.pubdate|formatdate}}
++ + +
+ {% if g.user.check_visibility(32768) %} ++ + +
+ {% endif %} +
{{_('Description:')}}
+ {{entry.comments[0].text|safe}} +