diff --git a/bwreg-webapp/src/main/webapp/user/twofa.xhtml b/bwreg-webapp/src/main/webapp/user/twofa.xhtml index f7b0c19829fe649720d119f577c683b27729193e..25b75d8488dc583c2f7386d282c9fa158156ec60 100644 --- a/bwreg-webapp/src/main/webapp/user/twofa.xhtml +++ b/bwreg-webapp/src/main/webapp/user/twofa.xhtml @@ -142,19 +142,21 @@ <p:dialog header="#{messages.twofa_tokentype_tanlist}" width="240" widgetVar="showBackupTanDlg" id="showBackupTanId" modal="true" closable="true" closeOnEscape="true" showEffect="fade" hideEffect="fade"> - <div style="margin-bottom: 8px;"> - <h:outputText value="#{messages.twofa_backup_tan_list_values}" /> - </div> - <ul style="margin-bottom: 16px;"> - <ui:repeat var="key" value="#{twoFaUserBean.backupTanList.result.value.otp.keySet()}"> - <li style="margin-bottom: 4px;"> - <b><h:outputText value="#{key}" /></b> - - <h:outputText value="#{twoFaUserBean.backupTanList.result.value.otp.get(key)}" /> - </li> - </ui:repeat> - </ul> + <p:outputPanel id="showBackupTanIdPrintBox"> + <div style="margin-bottom: 8px;"> + <h:outputText value="#{messages.twofa_backup_tan_list_values}" /> + </div> + <ul style="margin-bottom: 16px;"> + <ui:repeat var="key" value="#{twoFaUserBean.backupTanList.result.value.otp.keySet()}"> + <li style="margin-bottom: 4px;"> + <b><h:outputText value="#{key}" /></b> - + <h:outputText value="#{twoFaUserBean.backupTanList.result.value.otp.get(key)}" /> + </li> + </ui:repeat> + </ul> + </p:outputPanel> <p:commandButton value="Print" type="button" style="margin-bottom: 16px"> - <p:printer target="showBackupTanId" /> + <p:printer target="showBackupTanIdPrintBox" /> </p:commandButton> </p:dialog>