[Rt-commit] rt branch, create-action, updated. 65d76e8360ed19b6d52fd901b75526a84242c047
sartak at bestpractical.com
sartak at bestpractical.com
Tue Sep 1 11:01:32 EDT 2009
The branch, create-action has been updated
via 65d76e8360ed19b6d52fd901b75526a84242c047 (commit)
from 16c449134905f2acd3146eb064b221fd0a4bc44c (commit)
Summary of changes:
lib/RT/View/Ticket/Create.pm | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 65d76e8360ed19b6d52fd901b75526a84242c047
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Sep 1 11:01:15 2009 -0400
Begin fleshing out the basics of ticket creation
diff --git a/lib/RT/View/Ticket/Create.pm b/lib/RT/View/Ticket/Create.pm
index 6f291c8..efa8a53 100644
--- a/lib/RT/View/Ticket/Create.pm
+++ b/lib/RT/View/Ticket/Create.pm
@@ -86,10 +86,33 @@ template 'create' => page {
sub show_basics {
my $create = shift;
+ my $queue = get('queue');
div {
attr { id => "Ticket-Create-basics" };
- h1 { "Basics" };
+
+ table {
+ attr {
+ border => 0,
+ cellpadding => 0,
+ cellspacing => 0,
+ };
+
+ row {
+ cell {
+ attr { class => "label" };
+ _("Queue:")
+ }
+ cell {
+ attr { class => "value" };
+
+ render_mason('/Ticket/Elements/ShowQueue', {
+ queue => $queue,
+ });
+ }
+ }
+ };
+
$create->button(label => _('Create'));
};
}
@@ -102,7 +125,6 @@ sub show_details {
id => "Ticket-Create-details",
class => "jshide",
};
- h1 { "Details" };
$create->button(label => _('Create'));
};
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list