Skip to content

Commit aad7a9a

Browse files
committed
Improved a somewhat misleading UI for adding account email addresses. Fixes issue ietf-tools#2692.
- Legacy-Id: 16010
1 parent d698eb9 commit aad7a9a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

ietf/static/ietf/css/ietf.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,10 @@ table.materials .snippable {
392392
padding: 0.2em 0.5em;
393393
}
394394

395+
.pad {
396+
padding: 0.5em 0.5em;
397+
line-height: 1.2;
398+
}
395399
.padded {
396400
padding: 1em 1em;
397401
line-height: 1.4142;

ietf/templates/registration/edit_profile.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h1>Profile for {{ user.username }}</h1>
146146
<div class="col-sm-offset-2 col-sm-10">
147147
<div class="new-emails"></div>
148148

149-
<button class="btn btn-default btn-sm add-email">Add email address</button>
149+
<button class="btn btn-default btn-sm add-email">Open a new email address field</button>
150150
</div>
151151
</div>
152152

@@ -190,8 +190,8 @@ <h1>Profile for {{ user.username }}</h1>
190190
var container = $(this).closest("form").find(".new-emails");
191191

192192
$('<input class="form-control" name="new_email" placeholder="The address entered here will get a confirmation challenge. To add an address that cannot confirm, contact the secretariat.">').appendTo(container).focus();
193+
$('<div class="pull-right pad"><i>Remember to submit the form for the new email challenge to be sent.</i></div>').appendTo(container);
193194
})
194195
});
195196
</script>
196197
{% endblock %}
197-

0 commit comments

Comments
 (0)