summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2025-06-04 07:32:02 -0400
committerAdam T. Carpenter <atc@53hor.net>2025-06-04 07:32:02 -0400
commitdd049dee25a76fd47620285449b7c8a96503dbdb (patch)
tree0b4834e9e7071fa2efba597fdc8b1bae3678574a /templates
parentecaedcfd5db144c348f3c3641084a09be5db198f (diff)
downloadcarpentertutoring-dd049dee25a76fd47620285449b7c8a96503dbdb.tar.xz
carpentertutoring-dd049dee25a76fd47620285449b7c8a96503dbdb.zip
feat: email testimonial for reviews without stars
Diffstat (limited to 'templates')
-rw-r--r--templates/review.html.j26
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