From 79f5c5b2aefeb7f886a6e0f8a88d8fa8661188f7 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 23 Aug 2011 21:51:31 -0500 Subject: Fixed host OTP status. The host details page has been modified to show the status of the OTP. Setting a new OTP is now done using a dialog box. Ticket #1710 --- ipalib/plugins/internal.py | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'ipalib') diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 0964d106..2c5ab050 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -218,21 +218,25 @@ class i18n_messages(Command): "host": { "certificate":_("Host Certificate"), "cn":_("Host Name"), + "delete_key_unprovision":_("Delete Key, Unprovision"), "details":_("Host Settings"), "enrolled":_("Enrolled?"), "enrollment":_("Enrollment"), "fqdn":_("Fully Qualified Host Name"), - "posix":_("Is this a POSIX group?"), + "keytab":_("Kerberos Key"), + "keytab_missing":_("Kerberos Key Not Present"), + "keytab_present":_("Kerberos Key Present, Host Provisioned"), + "password":_("One-Time-Password"), + "password_missing":_("One-Time-Password Not Present"), + "password_present":_("One-Time-Password Present"), + "password_reset_button":_("Reset OTP"), + "password_reset_title":_("Reset One-Time-Password"), + "password_set_button":_("Set OTP"), + "password_set_title":_("Set One-Time-Password"), "status":_("Status"), - "valid":_("Kerberos Key Present, Host Provisioned"), - "delete_key_unprovision":_("Delete Key, Unprovision"), - "missing":_("Kerberos Key Not Present"), - "enroll_otp":_("Enroll via One-Time-Password"), - "set_otp":_("Set OTP"), - "otp_confirmation":_("One-Time-Password has been set."), - "unprovision_title":_("Unprovisioning ${entity}"), - "unprovision_confirmation":_("Are you sure you want to unprovision this host?"), "unprovision":_("Unprovision"), + "unprovision_confirmation":_("Are you sure you want to unprovision this host?"), + "unprovision_title":_("Unprovisioning ${entity}"), }, "hostgroup": { "identity":_("Host Group Settings"), @@ -319,11 +323,6 @@ class i18n_messages(Command): "inactive":_("Inactive"), "mailing":_("Mailing Address"), "misc":_("Misc. Information"), - "new_password":_("New Password"), - "password_change_complete":_("Password change complete"), - "password_must_match":_("Passwords must match"), - "repeat_password":_("Repeat Password"), - "reset_password":_("Reset Password"), }, }, "buttons": { @@ -373,6 +372,13 @@ class i18n_messages(Command): "search":_("Search"), "details": _("Settings"), }, + "password": { + "new_password":_("New Password"), + "password_change_complete":_("Password change complete"), + "password_must_match":_("Passwords must match"), + "reset_password":_("Reset Password"), + "verify_password":_("Verify Password"), + }, "search": { "partial_delete":_("Some entries were not deleted"), "quick_links":_("Quick Links"), @@ -405,11 +411,11 @@ class i18n_messages(Command): "add": { "ipasudorunas":_("Add RunAs ${other_entity} into ${entity} ${primary_key}"), "ipasudorunasgroup":_("Add RunAs Groups into ${entity} ${primary_key}"), + "managedby":_("Add ${other_entity} Managing ${entity} ${primary_key}"), "member":_("Add ${other_entity} into ${entity} ${primary_key}"), "memberallowcmd":_("Add Allow ${other_entity} into ${entity} ${primary_key}"), "memberdenycmd":_("Add Deny ${other_entity} into ${entity} ${primary_key}"), "memberof":_("Add ${entity} ${primary_key} into ${other_entity}"), - "managedby":_("Add ${other_entity} Managing ${entity} ${primary_key}"), "sourcehost":_("Add Source ${other_entity} into ${entity} ${primary_key}"), }, "direct_enrollment":_("Direct Enrollment"), @@ -419,11 +425,11 @@ class i18n_messages(Command): "remove": { "ipasudorunas":_("Remove RunAs ${other_entity} from ${entity} ${primary_key}"), "ipasudorunasgroup":_("Remove RunAs Groups from ${entity} ${primary_key}"), + "managedby":_("Remove ${other_entity} Managing ${entity} ${primary_key}"), "member":_("Remove ${other_entity} from ${entity} ${primary_key}"), "memberallowcmd":_("Remove Allow ${other_entity} from ${entity} ${primary_key}"), "memberdenycmd":_("Remove Deny ${other_entity} from ${entity} ${primary_key}"), "memberof":_("Remove ${entity} ${primary_key} from ${other_entity}"), - "managedby":_("Remove ${other_entity} Managing ${entity} ${primary_key}"), "sourcehost":_("Remove Source ${other_entity} from ${entity} ${primary_key}"), }, "show_results":_("Show Results"), -- cgit