diff options
Diffstat (limited to 'templates/review.html.j2')
-rw-r--r-- | templates/review.html.j2 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/review.html.j2 b/templates/review.html.j2 index 1d384f5..96dfde1 100644 --- a/templates/review.html.j2 +++ b/templates/review.html.j2 @@ -3,17 +3,19 @@ <h3>{{ title }}</h3> + {% if stars > 0 %} {% for star in 0..stars %} <img src="/assets/icons/star-box.svg" alt="star" /> {% endfor %} + {% else %} + <em>Email testimonial</em> + {% endif %} <blockquote> {{ quote }} </blockquote> - {% if stars > 0 %} <p> <a href="https://g.page/carpenter-tutoring/review?np">Leave a review</a> </p> - {% endif %} </div>
\ No newline at end of file |