Commit 47a691c8 authored by michael.simon's avatar michael.simon
Browse files

Texts and optics

parent 0da7ea01
my_twofa=Meine Tokens my_twofa=Meine Tokens
twofa_backup_tan_list_values=Hier sehen Sie die n\u00E4chsten f\u00FCnf Werte Ihrer TAN Liste. Diese Werte m\u00FCssen in der angezeigten Reihenfolge verwendet werden.
token_get_tanlist_values=TANs anzeigen token_get_tanlist_values=TANs anzeigen
ssh_key_deleted=Der SSH Key wurde gel\u00F6scht. ssh_key_deleted=Der SSH Key wurde gel\u00F6scht.
ssh_key_confirm=SSH Key wirklich l\u00F6schen? Der Key kann nicht wiederverwendet werden. ssh_key_confirm=SSH Key wirklich l\u00F6schen? Der Key kann nicht wiederverwendet werden.
......
my_twofa=My Tokens my_twofa=My Tokens
twofa_backup_tan_list_values=Here you see the next five values of your TAN list. These values must be used in the displayed order.
token_get_tanlist_values=Show TANs token_get_tanlist_values=Show TANs
ssh_key_deleted=SSH key has been deleted. ssh_key_deleted=SSH key has been deleted.
ssh_key_confirm=Really delete ssh key? The key cannot be used again. ssh_key_confirm=Really delete ssh key? The key cannot be used again.
......
...@@ -133,10 +133,23 @@ ...@@ -133,10 +133,23 @@
</p:outputPanel> </p:outputPanel>
</p:panel> </p:panel>
<p:dialog header="#{messages.twofa_backup_tan_list_values}" <p:dialog header="#{messages.twofa_tokentype_tanlist}" width="240"
widgetVar="showBackupTanDlg" id="showBackupTanId" modal="true" closable="true" closeOnEscape="true" widgetVar="showBackupTanDlg" id="showBackupTanId" modal="true" closable="true" closeOnEscape="true"
showEffect="fade" hideEffect="fade"> showEffect="fade" hideEffect="fade">
<h:outputText value="#{twoFaUserBean.backupTanList.result.value.otp}" /> <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:commandButton value="Print" type="button" style="margin-bottom: 16px">
<p:printer target="showBackupTanId" />
</p:commandButton>
</p:dialog> </p:dialog>
<p:dialog header="#{messages.twofa_create_totp_token}" <p:dialog header="#{messages.twofa_create_totp_token}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment