[Rt-commit] rt branch, admin_ui, updated. 71b403ff17f5169570cb5ff59bf15c1bebbe8c5b

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Nov 26 23:34:50 EST 2009


The branch, admin_ui has been updated
       via  71b403ff17f5169570cb5ff59bf15c1bebbe8c5b (commit)
      from  e56bb679f7e9eb6d597defca212fd6b992fb2a8d (commit)

Summary of changes:
 lib/RT/View/Form/Field/SelectStatusSchema.pm |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 lib/RT/View/Form/Field/SelectStatusSchema.pm

- Log -----------------------------------------------------------------
commit 71b403ff17f5169570cb5ff59bf15c1bebbe8c5b
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Nov 27 12:34:31 2009 +0800

    add SelectStatusSchema field

diff --git a/lib/RT/View/Form/Field/SelectStatusSchema.pm b/lib/RT/View/Form/Field/SelectStatusSchema.pm
new file mode 100644
index 0000000..d8b5c14
--- /dev/null
+++ b/lib/RT/View/Form/Field/SelectStatusSchema.pm
@@ -0,0 +1,12 @@
+package RT::View::Form::Field::SelectStatusSchema;
+use warnings;
+use strict;
+use base 'Jifty::Web::Form::Field::Select';
+
+sub _available_values {
+    return [ map { { display => $_, value => $_ } } RT::Workflow->list ];
+}
+
+
+1;
+

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


More information about the Rt-commit mailing list