From: Moritz Bunkus Date: Mon, 16 Jan 2017 11:50:57 +0000 (+0100) Subject: ActionBar: Verwendung bei Briefen standardisiert X-Git-Tag: release-3.5.4~1312 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=132c52d7690c30ccb3f1e1b74d90d757e87a376f;p=kivitendo-erp.git ActionBar: Verwendung bei Briefen standardisiert • »Suchen« → »Erneuern« • »Zurücksetzen« in Form verschoben --- diff --git a/SL/Controller/Letter.pm b/SL/Controller/Letter.pm index 69e2bdf43..d0ef0c953 100644 --- a/SL/Controller/Letter.pm +++ b/SL/Controller/Letter.pm @@ -724,15 +724,10 @@ sub setup_list_action_bar { for my $bar ($::request->layout->get('actionbar')) { $bar->add( action => [ - t8('Search'), - submit => [ '#form', { action => 'Letter/list' } ], - checks => [ 'kivi.SalesPurchase.check_required_email_fields' ], + t8('Update'), + submit => [ '#search_form', { action => 'Letter/list' } ], accesskey => 'enter', ], - action => [ - t8('Reset'), - call => [ 'kivi.call_jquery', '#form', 'resetForm' ], - ], ); } } diff --git a/templates/webpages/letter/report_bottom.html b/templates/webpages/letter/report_bottom.html index f66e2d265..a27818a5e 100644 --- a/templates/webpages/letter/report_bottom.html +++ b/templates/webpages/letter/report_bottom.html @@ -1,6 +1,6 @@ [% USE HTML%] [%- USE T8 %] -[%- USE L %] +[%- USE L %][%- USE LxERP -%] [% L.paginate_controls(models=SELF.models) %] [%- FOREACH item = HIDDEN %] diff --git a/templates/webpages/letter/search.html b/templates/webpages/letter/search.html index 4ae49823e..fa89fd699 100644 --- a/templates/webpages/letter/search.html +++ b/templates/webpages/letter/search.html @@ -2,7 +2,7 @@ [% USE T8 %] [% USE L %] [% USE LxERP %] -
+
[% 'Show Filter' | $T8 %] @@ -55,6 +55,6 @@ [% L.hidden_tag('sort_by', FORM.sort_by) %] [% L.hidden_tag('sort_dir', FORM.sort_dir) %] [% L.hidden_tag('page', FORM.page) %] + [% L.button_tag("\$('#search_form').resetForm()", LxERP.t8("Reset")) %]
-