Files
edx-platform/xmodule/capa/templates/problem_notifications.html
Irtaza Akram 99c6e901d9 Convert Problem Block Mako Templates to Django Templates (#37570)
* fix: convert mako to django templates for problem block

* fix: pylint issues
2025-12-09 19:29:06 +05:00

18 lines
876 B
HTML

{% load i18n %}
<div class="notification {{ notification_type }} notification-{{ notification_name }}
{% if is_hidden != False %}is-hidden{% endif %}"
tabindex="-1">
<span class="icon fa {{ notification_icon }}" aria-hidden="true"></span>
<span class="notification-message" aria-describedby="{{ short_id }}-problem-title">{{ notification_message }}
</span>
<div class="notification-btn-wrapper">
{% if notification_name == 'hint' %}
<button type="button" class="btn btn-default btn-small notification-btn hint-button">
{% trans "Next Hint" as next_hint_text %}{{ next_hint_text|force_escape }}
</button>
{% endif %}
<button type="button" class="btn btn-default btn-small notification-btn review-btn sr">{% trans "Review" as review_text %}{{ review_text|force_escape }}</button>
</div>
</div>