Improvements for sqlalchemy 2

This commit is contained in:
Ozzie Isaacs
2023-04-13 19:01:53 +02:00
parent 6c6841f8b0
commit 1c8bc78b48
4 changed files with 49 additions and 46 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
<div class="col-xs-10 col-sm-10 col-md-11"><a id="list_{{loop.index0}}" href="{% if entry.format %}{{url_for('web.books_list', data=data, sort_param='stored', book_id=entry.format )}}{% else %}{{url_for('web.books_list', data=data, sort_param='stored', book_id=entry[0].id )}}{% endif %}">
{% if entry.name %}
<div class="rating">
{% for number in range(entry.name) %}
{% for number in range(entry.name|int) %}
<span class="glyphicon glyphicon-star good"></span>
{% if loop.last and loop.index < 5 %}
{% for numer in range(5 - loop.index) %}