# -- # Copyright (C) 2001-2019 OTRS AG, https://otrs.com/ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt. # --

[% Translate("GenericInterface Invoker Event Settings for Web Service %s", Data.WebserviceName) | html %]

[% USE WebserviceLink = String("AdminGenericInterfaceWebservice;Subaction=Change;WebserviceID=") %] [% USE InvokerName = String( 'Invoker' ) %] [% USE InvokerLink = String( Data.InvokerTypeFrontendModule ) %] [% USE EventName = String( 'Event' ) %] [% BreadcrumbPath = [ { Name => Translate( 'Web Service Management' ), Link => 'AdminGenericInterfaceWebservice', }, { Name => Data.WebserviceName, Link => WebserviceLink.append( Data.WebserviceID ), }, { Name => InvokerName.append( ': ', Data.Invoker ), Link => InvokerLink.copy.append(';Subaction=Change;Invoker=', Data.Invoker, ';WebserviceID=', Data.WebserviceID), } { Name => EventName.append( ': ',Data.Event ), } ] %] [% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath %]

[% Translate("Actions") | html %]

[% IF Data.Action == 'Change' %] [% END %]

[% Translate("General Settings") | html %]

[% Translate(Data.EventType) | html %] [% Translate("Event") | html %] [% Translate("Conditions") | html %]

[% Translate("Conditions can only operate on non-empty fields.") | html %]

[% Data.OverallConditionLinking %]
[% RenderBlockStart("ConditionItemEditRow") %]

[% Translate("Condition") | html %] [% Data.Index | html %]

[% Data.ConditionLinking %]

[% Translate("Fields") | html %]

[% RenderBlockStart("ConditionItemEditRowField") %]
[% Data.ConditionFieldType %]   [% Translate("Remove this Field") | html %]
[% Translate("This field is required.") | html %] [% Translate("And can't be repeated on the same condition.") | html %]
[% Translate("This field is required.") | html %]
[% RenderBlockEnd("ConditionItemEditRowField") %]
[% RenderBlockEnd("ConditionItemEditRow") %] [% RenderBlockStart("ConditionItemInitRow") %]

[% Translate("Condition") | html %] 1

[% Data.ConditionLinking %]

[% Translate("Fields") | html %]

[% Data.ConditionFieldType %]   [% Translate("Remove this Field") | html %]
[% Translate("This field is required.") | html %] [% Translate("And can't be repeated on the same condition.") | html %]
[% Translate("This field is required.") | html %]
[% RenderBlockEnd("ConditionItemInitRow") %]

[% Translate("Save") | html %]

[% IF Data.Action == 'Change' %] [% Translate("or") | html %] [% ELSE %] [% END %] [% Translate("or") | html %] [% Translate("Cancel") | html %]