From: Moritz Bunkus Date: Tue, 21 Mar 2017 14:20:11 +0000 (+0100) Subject: ActionBar: Verwendung bei »System« → »Sprachen und Übersetzungen« → »SEPA-Überweisungen« X-Git-Tag: release-3.5.4~1190 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=97c075f917ac09a9ba2050ab97a77bb355657a2e;p=kivitendo-erp.git ActionBar: Verwendung bei »System« → »Sprachen und Übersetzungen« → »SEPA-Überweisungen« --- diff --git a/bin/mozilla/generictranslations.pl b/bin/mozilla/generictranslations.pl index 6c5917a0b..5d945566f 100644 --- a/bin/mozilla/generictranslations.pl +++ b/bin/mozilla/generictranslations.pl @@ -97,6 +97,8 @@ sub edit_sepa_strings { $language->{translation_vc} = $translations_vc{$language->{id}}; } + setup_generictranslations_edit_sepa_strings_action_bar(); + $form->{title} = $locale->text('Edit SEPA strings'); $form->header(); print $form->parse_html_template('generictranslations/edit_sepa_strings'); @@ -148,4 +150,18 @@ sub setup_generictranslations_edit_greetings_action_bar { } } +sub setup_generictranslations_edit_sepa_strings_action_bar { + my %params = @_; + + for my $bar ($::request->layout->get('actionbar')) { + $bar->add( + action => [ + t8('Save'), + submit => [ '#form', { action => "save_sepa_strings" } ], + accesskey => 'enter', + ], + ); + } +} + 1; diff --git a/templates/webpages/generictranslations/edit_sepa_strings.html b/templates/webpages/generictranslations/edit_sepa_strings.html index c974cf791..e4eb9d0dd 100644 --- a/templates/webpages/generictranslations/edit_sepa_strings.html +++ b/templates/webpages/generictranslations/edit_sepa_strings.html @@ -8,7 +8,7 @@

[%- END %] -
+ @@ -48,11 +48,4 @@ [%- END %]
- -

- - -

-
-