[Rt-commit] rt branch, create-action, updated. 487c27990b0f5d4d183bd2fc14e71489fbc213ed
sartak at bestpractical.com
sartak at bestpractical.com
Wed Sep 2 08:57:57 EDT 2009
The branch, create-action has been updated
via 487c27990b0f5d4d183bd2fc14e71489fbc213ed (commit)
from 8d57d9d7396723fb8516c48c6307e7118a2f957c (commit)
Summary of changes:
lib/RT/View/Ticket/Create.pm | 23 ++---------------------
1 files changed, 2 insertions(+), 21 deletions(-)
- Log -----------------------------------------------------------------
commit 487c27990b0f5d4d183bd2fc14e71489fbc213ed
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Sep 2 08:57:46 2009 -0400
No table, no weird templates, just render each param
diff --git a/lib/RT/View/Ticket/Create.pm b/lib/RT/View/Ticket/Create.pm
index 71b278b..4e5b3f4 100644
--- a/lib/RT/View/Ticket/Create.pm
+++ b/lib/RT/View/Ticket/Create.pm
@@ -93,27 +93,8 @@ sub show_basics {
attr { id => "Ticket-Create-basics" };
a { attr { name => "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,
- });
- }
- }
- };
+ render_param($create, 'queue');
+ render_param($create, 'status');
$create->button(label => _('Create'));
};
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list