This repository was archived by the owner on Mar 15, 2018. It is now read-only.
File tree Expand file tree Collapse file tree
detail/templates/detail/includes
ratings/templates/ratings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,6 +242,11 @@ header.product {
242242 width : 40px ;
243243 }
244244 }
245+ & .large {
246+ background : url(../../img/mkt/stars/sprite_18.png ) no-repeat ;
247+ width : 90px ;
248+ height : 18px ;
249+ }
245250}
246251
247252.html-rtl .stars {
Original file line number Diff line number Diff line change 2020 </ ul >
2121 < div class ="{{ 'split' if can_review else 'full' }} ">
2222 < a class ="fatbutton average-rating " href ="{{ product.get_ratings_url() }} ">
23- {{ product.average_rating|float|stars }}
2423 < span >
2524 {% trans cnt=product.total_reviews, num=product.total_reviews|numberfmt %}
2625 {{ num }} review
2726 {% pluralize %}
2827 {{ num }} reviews
2928 {% endtrans %}
3029 </ span >
30+ {{ product.average_rating|float|stars(large=True) }}
3131 </ a >
3232 </ div >
3333 {# TODO: Expose maybe sweet ratings breakdown later. #}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ <h3 class="review-heading-profile">
2020 </ h3 >
2121 {% endif %}
2222 {% if not is_reply %}
23- {{ review.rating|stars }}
23+ {{ review.rating|stars(large=True) }}
2424 {% endif %}
2525 < span class ="byline ">
2626 {# TODO: Re-link user profile pages if desktop implements them. #}
You can’t perform that action at this time.
0 commit comments