Skip to content

Commit

Permalink
correct message condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood authored and Muhammad Faraz Maqsood committed Mar 1, 2024
1 parent 7ae0f6a commit cd29163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p style="color: rgba(0,0,0,.75);">
{% autoescape off %}
{# xss-lint: disable=django-blocktrans-missing-escape-filter #}
{% if current_progress >= 25 and current_progress < 50 %}
{% if current_progress < 50 %}
{% blocktrans %}Well done!{% endblocktrans %}
{% elif current_progress >= 50 and current_progress < 75 %}
{% blocktrans %}Great job!{% endblocktrans %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load i18n %}{% autoescape off %}
{% if current_progress >= 25 and current_progress < 50 %}
{% if current_progress < 50 %}
{% blocktrans %}Well done!{% endblocktrans %}
{% elif current_progress >= 50 and current_progress < 75 %}
{% blocktrans %}Great job!{% endblocktrans %}
Expand Down

0 comments on commit cd29163

Please sign in to comment.