Merge ~maxiberta/canonical-identity-provider:br-2fa-device-verification into canonical-identity-provider:master

Proposed by Maximiliano Bertacchini
Status: Merged
Approved by: Daniel Manrique
Approved revision: 2facd2fa4248bab34aa618399ca57751c2e70759
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~maxiberta/canonical-identity-provider:br-2fa-device-verification
Merge into: canonical-identity-provider:master
Diff against target: 16 lines (+1/-1)
1 file modified
src/webui/templates/registration/twofactor.html (+1/-1)
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+392982@code.launchpad.net

Commit message

Move <br> around in 2FA device verification nag

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

YES PLEASE THANKS

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/webui/templates/registration/twofactor.html b/src/webui/templates/registration/twofactor.html
2index a638c24..afe8f85 100644
3--- a/src/webui/templates/registration/twofactor.html
4+++ b/src/webui/templates/registration/twofactor.html
5@@ -21,10 +21,10 @@
6 {% if twofactor_nag %}
7 <div class="p-notification">
8 <p class="p-notification__response">
9- <br>
10 <span class="p-notification__status">
11 {% trans "Remember to always have your back up device at hand." %}
12 </span>
13+ <br>
14 {% if twofactor_last_nag %}
15 {% if backup_device_last_use and not multiple_devices %}
16 {% blocktrans with last_use=backup_device_last_use|timesince %}You haven't used your backup device in {{ last_use }}.{% endblocktrans %}

Subscribers

People subscribed via source and target branches