[Rt-commit] rt branch, admin_ui, updated. df0c364ea99cc0f1447995261448ac8a204d67da
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Dec 24 20:12:57 EST 2009
The branch, admin_ui has been updated
via df0c364ea99cc0f1447995261448ac8a204d67da (commit)
from 07814daf4e1e73a452613b721c6ede35677f1022 (commit)
Summary of changes:
lib/RT/View/Admin/Rules.pm | 42 ------------------------------------------
1 files changed, 0 insertions(+), 42 deletions(-)
- Log -----------------------------------------------------------------
commit df0c364ea99cc0f1447995261448ac8a204d67da
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Dec 25 09:12:39 2009 +0800
update /admin/rules view: make it same as others
diff --git a/lib/RT/View/Admin/Rules.pm b/lib/RT/View/Admin/Rules.pm
index 86f9c4a..96b0bf6 100644
--- a/lib/RT/View/Admin/Rules.pm
+++ b/lib/RT/View/Admin/Rules.pm
@@ -65,47 +65,5 @@ sub _current_collection {
return $c;
}
-=head2 view_field_name
-
-Display each group's name as a hyperlink to the modify page
-
-=cut
-
-sub view_field_name {
- my $self = shift;
- my %args = @_;
-
- $self->view_via_callback(%args, callback => sub {
- my %args = @_;
- hyperlink(
- label => $args{current_value},
- url => "/Admin/Rules/Modify.html?id=$args{id}",
- );
- });
-}
-
-template 'edit' => page {
- show('./update');
-
- div { { id is 'expressionbuilder' } };
-if (0) {outs_raw(q{<script type="text/javascript">
-jQuery(function() {
- jQuery._span_({'class': 'edit-with-rulebuilder'}).text("...")
- .insertAfter("textarea.argument-condition_code")
- .click(function(e) { RuleBuilder.load_and_edit_lambda([
- { expression: 'ticket',
- type: 'RT::Model::Ticket'
- },
- { expression: 'transaction',
- type: 'RT::Model::Transaction'
- }
-], 'Bool', this) });
-
-});
-</script>
-});
-}
-};
-
1;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list