diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-08 20:24:26 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-08 20:24:26 -0500 |
commit | 7e8fefe7f3c5aee31c4e7231e5fed21d34ed0cb6 (patch) | |
tree | 65eec2f77b579ad4127f8d7d9a799d9f3bcc6f4e /design/templates/archives | |
parent | 76c0bf31bf4a21fcf18df8579dbb6f660c4d7437 (diff) |
Updated books app to use new CBVs and urls, also brought everything up
to PEP 8 styles
Diffstat (limited to 'design/templates/archives')
-rw-r--r-- | design/templates/archives/books.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/archives/books.html b/design/templates/archives/books.html index 980a4b7..1c139e6 100644 --- a/design/templates/archives/books.html +++ b/design/templates/archives/books.html @@ -25,7 +25,7 @@ <h2 itemprop="name"><a href="{{object.get_absolute_url}}">{{object.title|amp|smartypants|widont|safe}}</a></h2> <h4 itemprop="author">{{object.author_name}}</h4> <div itemprop="review" itemscope itemtype="http://schema.org/Review"> - {% if object.rating %}<span class="book-stars" itemprop="reviewRating">{% for i in ratings_range %}{% if i <= object.get_rating%}★{%else%}☆{%endif%}{%endfor%}</span>{%endif%} + {% if object.rating %}<span class="book-stars" itemprop="reviewRating">{% for i in object.ratings_range %}{% if i <= object.get_rating%}★{%else%}☆{%endif%}{%endfor%}</span>{%endif%} <span class="hide" itemprop="author">Scott Gilbertson</span> <meta itemprop="datePublished" content="{{object.read_date|date:'F Y'}}"><span class="read-in">Read in: {{object.read_date|date:"F Y"}}</span></div> </article> |