Remove thumbs from helpful votes

This commit is contained in:
rubenwardy 2022-01-01 21:45:03 +00:00
parent 4dfb35a57b
commit e346587111

@ -4,14 +4,12 @@
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div class="btn-group"> <div class="btn-group">
<button class="btn {% if is_positive == true %}btn-primary{% else %}btn-secondary{% endif %}" name="is_positive" value="yes"> <button class="btn {% if is_positive == true %}btn-primary{% else %}btn-secondary{% endif %}" name="is_positive" value="yes">
<i class="fas fa-thumbs-up mr-1"></i>
{{ _("Helpful") }} {{ _("Helpful") }}
{% if positive > 0 %} {% if positive > 0 %}
<span class="badge badge-light ml-1">{{ positive }}</span> <span class="badge badge-light ml-1">{{ positive }}</span>
{% endif %} {% endif %}
</button> </button>
<button class="btn {% if is_positive == false %}btn-primary{% else %}btn-secondary{% endif %}" name="is_positive" value="no"> <button class="btn {% if is_positive == false %}btn-primary{% else %}btn-secondary{% endif %}" name="is_positive" value="no">
<i class="fas fa-thumbs-down mr-1"></i>
{{ _("Unhelpful") }} {{ _("Unhelpful") }}
{% if negative > 0 %} {% if negative > 0 %}
<span class="badge badge-light ml-1">{{ negative }}</span> <span class="badge badge-light ml-1">{{ negative }}</span>