[Rt-commit] rt branch, admin_ui, updated. def1bb5ea6afc8f62aed0d49b0c424d95b9ba455

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jan 21 08:11:01 EST 2010


The branch, admin_ui has been updated
       via  def1bb5ea6afc8f62aed0d49b0c424d95b9ba455 (commit)
      from  b2cda23f5518b3584b78346d3a1cfda2fd847684 (commit)

Summary of changes:
 lib/RT/Action/EditUserPrefsOther.pm |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit def1bb5ea6afc8f62aed0d49b0c424d95b9ba455
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Jan 21 21:10:52 2010 +0800

    typo fix

diff --git a/lib/RT/Action/EditUserPrefsOther.pm b/lib/RT/Action/EditUserPrefsOther.pm
index 9eace40..c04f1b3 100644
--- a/lib/RT/Action/EditUserPrefsOther.pm
+++ b/lib/RT/Action/EditUserPrefsOther.pm
@@ -176,7 +176,7 @@ use Jifty::Action schema {
     param 'preferred_key' =>
       label is _('Preferred key'),
       render as 'Select',
-    available are defer {
+      available are defer {
         require RT::Crypt::GnuPG;
         my $d;
         my %res = RT::Crypt::GnuPG::get_keys_for_encryption(
@@ -194,8 +194,8 @@ use Jifty::Action schema {
         [
             map {
                 {
-                    display => $_->{'fingerprint'},
-                    value   => $_->{'fingerprint'} . ' '
+                    value => $_->{'fingerprint'},
+                    display   => $_->{'fingerprint'} . ' '
                       . _( 'trust: %1', $_->{'trust_terse'} )
                 }
               } @keys
@@ -280,7 +280,7 @@ sub sections {
         push @sections,
           {
             title  => 'Cryptography',
-            values => [qw/preferred_key/]
+            fields => [qw/preferred_key/]
           };
     }
     return @sections;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list