fix: Text comparison should be done with == not via is.
`is` will check if two objects are the same whereas `==` will check if their values are the same which is what we want here.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<span class="notification-message" aria-describedby="${ short_id }-problem-title">${notification_message}
|
||||
</span>
|
||||
<div class="notification-btn-wrapper">
|
||||
% if notification_name is 'hint':
|
||||
% if notification_name == 'hint':
|
||||
<button type="button" class="btn btn-default btn-small notification-btn hint-button">
|
||||
${_('Next Hint')}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user