Added number of reviews to results page

This commit is contained in:
ludger 2018-10-11 14:11:36 +02:00
parent 6f6098b38d
commit 5ebfd0a0d6
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
<div class="hr-line-dashed"></div>
<div class="search-result">
<h3><a href="/rateables/{{ entity.pk }}">{{ entity.name }}</a></h3>
<a href="#" class="search-link">UNIVERSITY</a>
<h4> Reviews: {{entity.review_set.all|length}}</h4>
<span class="toright glyphicon glyphicon-icon-comments"></span>
</div>