Skip to content

Commit

Permalink
correct inline issue for progress percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood authored and Muhammad Faraz Maqsood committed Mar 5, 2024
1 parent 290251b commit 6671abe
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 @@ -26,7 +26,7 @@
<p style="color: rgba(0,0,0,.75);">
{% autoescape off %}
{# xss-lint: disable=django-blocktrans-missing-escape-filter #}
{% blocktrans %}You’ve completed {% endblocktrans %}<p style="color: rgba(255, 0, 0, 0.75); display: inline;">{{ current_progress }}%</p>{% blocktrans %} of {% endblocktrans %}"{{ course_name }}".
{% blocktrans %}You’ve completed {% endblocktrans %}<span style="color: rgba(255, 0, 0, 0.75);">{{ current_progress }}%</span>{% blocktrans %} of {% endblocktrans %}"{{ course_name }}".
{% endautoescape %}
<br />
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
{% blocktrans %}Awesome!{% endblocktrans %}
{% endif %}
{% blocktrans %}{{ full_name }}{% endblocktrans %}
{% blocktrans %}You’ve completed {% endblocktrans %}<p style="color: rgba(255, 0, 0, 0.75); display: inline;">{{ current_progress }}%</p>{% blocktrans %} of {% endblocktrans %}"{{ course_name }}".
{% blocktrans %}You’ve completed {% endblocktrans %}<span style="color: rgba(255, 0, 0, 0.75);">{{ current_progress }}%</span>{% blocktrans %} of {% endblocktrans %}"{{ course_name }}".
{% blocktrans %}Keep it up! Continue your learning journey {% endblocktrans %}<a href="{{ course_home_url }}">{% blocktrans %} here{% endblocktrans %}</a>.
{% endautoescape %}

0 comments on commit 6671abe

Please sign in to comment.