0001-misc-change-email-live-hint-message-element-to-be-p-.patch
src/authentic2/static/authentic2/js/email_domains_suggestions.js | ||
---|---|---|
98 | 98 |
$domain_hint_div.hide(); |
99 | 99 |
return false; |
100 | 100 |
}); |
101 |
$domain_hint_div.find('> span').text($domain_hint_div.find('> span').data('hint-prefix') + ' @' + suggestion + ' ?');
|
|
101 |
$domain_hint_div.find('> p').text($domain_hint_div.find('> p').data('hint-prefix') + ' @' + suggestion + ' ?');
|
|
102 | 102 |
$domain_hint_div.find('button.action').data('suggestion', suggestion); |
103 | 103 |
$domain_hint_div.show(); |
104 | 104 |
} else if ($domain_hint_div) { |
src/authentic2/templates/authentic2/widgets/email.html | ||
---|---|---|
2 | 2 |
{% include "django/forms/widgets/email.html" %} |
3 | 3 |
{% if domains_suggested %} |
4 | 4 |
<div class="field-live-hint" style="display: none"> |
5 |
<span class="message" data-hint-prefix="{% trans "Did you want to write" %}"></span>
|
|
5 |
<p class="message" data-hint-prefix="{% trans "Did you want to write" %}"></p>
|
|
6 | 6 |
<button class="action" type="button">{% trans "Apply fix" %}</button> |
7 | 7 |
<button class="close" type="button"> |
8 | 8 |
<span class="sr-only">x</span> |
9 |
- |