N°3508 - Rework notifications page to have distinct tabs depending on the action type

This commit is contained in:
Molkobain
2021-12-04 20:49:30 +01:00
parent a5bf059e23
commit afc0a02058
17 changed files with 237 additions and 94 deletions

View File

@@ -977,10 +977,13 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
<li>Some triggers are executed when a <b>threshold on TTO or TTR</b> has been <b>reached</b>.</li>
</ol>
</p>
<p>
<i><b>Akce</b></i> definují činnosti, které mají být provedeny, když se triggery spustí. V současné verzi iTop je definována jedna akce spočívající v zaslání emailové zprávy. Tato akce také definuje šablonu, která se použije pro zasílání emailových zpráv a také pro definici dalších parametrů (příjemci, důležitost apod.).
<i><b>Akce</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Speciální stránka <a href="../setup/email.test.php" target="_blank">email.test.php</a> je dostupná pro testování a řešení problémů s configurací PHP mailu.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Speciální stránka <a href="../setup/email.test.php" target="_blank">email.test.php</a> je dostupná pro testování a řešení problémů s configurací PHP mailu.</p>
<p>Aby mohly být akce spuštěny, musí být přiřazeny ke triggerům. Každá akce pak dostane své "pořadové" číslo, které určí v jakém pořadí se akce spustí.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Triggery',
'UI:NotificationsMenu:AvailableTriggers' => 'Dostupné triggery',
@@ -988,6 +991,9 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'UI:NotificationsMenu:OnStateEnter' => 'Při změně stavu na',
'UI:NotificationsMenu:OnStateLeave' => 'Při změně stavu z',
'UI:NotificationsMenu:Actions' => 'Akce',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Dostupné akce',
'Menu:TagAdminMenu' => 'Tags configuration~~',

View File

@@ -967,10 +967,13 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
</ol>
</p>
<p>
<i><b>Handlinger</b></i> definer de handlinger som udføres når triggeren udløses. For nuværende er der kun en handling, som består af at sende en email besked.
Sådanne handlinger definerer den skabelon som bruges til afsendelse af email såvel som andre parametre indhold i beskeden, modtger, vigtighed, etc.
<i><b>Handlinger</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
En speciel side: <a href="../setup/email.test.php" target="_blank">email.test.php</a> er til rådighed for test og problemløsning af PHP mail konfigurationen.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>En speciel side: <a href="../setup/email.test.php" target="_blank">email.test.php</a> er til rådighed for test og problemløsning af PHP mail konfigurationen.</p>
<p>For udførelse, handlinger skal være knyttet til triggers.
Ved tilknytningen til en trigger, bliver hver handling tildelt et "rækkefølge" nummer, der specificerer i hvilken rækkefølge handlingerne udføres.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Triggers',
@@ -979,6 +982,9 @@ Ved tilknytningen til en trigger, bliver hver handling tildelt et "rækkefølge"
'UI:NotificationsMenu:OnStateEnter' => 'Når et objekt indtræder i en give tilstand',
'UI:NotificationsMenu:OnStateLeave' => 'Når et objekt forlader en give tilstand',
'UI:NotificationsMenu:Actions' => 'Handlinger',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Tilgængelige handlinger',
'Menu:TagAdminMenu' => 'Tags configuration~~',

View File

@@ -965,19 +965,25 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
<li>Einige Trigger werden ausgeführt, wenn ein Objekt einer bestimmten Klasse einen bestimmten <b>Zustand</b> <b>erreicht</b> oder <b>verlässt</b>.</li>
<li>Einige Trigger werden ausgeführt, wenn ein <b>Schwellenwert</b> auf <b>TTO</b> oder <b>TTR</b> <b>erreicht</b> ist.</li>
</ol>
</p><p>
<i><b>Aktionen</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Eine spezielle Seite: <a href="../setup/email.test.php" target="_blank">email.test.php</a> steht zum Testen und zur Fehlerbehebung Ihrer PHP-Mailkonfiguration bereit.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>
<i><b>Aktionen</b></i> definieren Aktionen, die ausgeführt werden sollen, wenn ein Trigger ausgeführt wird. Derzeit steht nur eine Art an Aktion zur Verfügung: Das Senden einer Email-Nachricht.
Derartige Aktionen definieren auch das Template, welches für das Versenden der Email, aber auch für anderen Parameter der Nachricht wie Empfänger, Priorität usw. zuständig ist.</p>
<p>Eine spezielle Seite: <a href="../setup/email.test.php" target="_blank">email.test.php</a> steht zum Testen und zur Fehlerbehebung Ihrer PHP-Mailkonfiguration bereit.</p>
<p>Um Aktionen auszuführen, müssen diese mit Trigger verknüpft sein.
Wenn Aktionen mit Trigger verknüpft sind, bekommt jede Aktion eine Auftragsnummer, die die Reihenfolge der auszuführenden Aktionen festlegt.</p>',
Wenn Aktionen mit Trigger verknüpft sind, bekommt jede Aktion eine Auftragsnummer, die die Reihenfolge der auszuführenden Aktionen festlegt.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Trigger',
'UI:NotificationsMenu:AvailableTriggers' => 'Verfügbare Trigger',
'UI:NotificationsMenu:OnCreate' => 'Wenn ein Objekt erstellt wird',
'UI:NotificationsMenu:OnStateEnter' => 'Wenn ein Objekt einen gegebenen Status erlangt',
'UI:NotificationsMenu:OnStateLeave' => 'Wenn ein Objekt einen gegebenen Status verlässt',
'UI:NotificationsMenu:Actions' => 'Aktionen',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Verfügbare Aktionen',
'Menu:TagAdminMenu' => 'Tag-Konfiguration',

View File

@@ -995,10 +995,13 @@ We hope you’ll enjoy this version as much as we enjoyed imagining and creating
</ol>
</p>
<p>
<i><b>Actions</b></i> define the actions to be performed when the triggers execute. For now there is only one kind of action consisting in sending an email message.
Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.
<i><b>Actions</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
A special page: <a href="../setup/email.test.php" target="_blank">email.test.php</a> is available for testing and troubleshooting your PHP mail configuration.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>A special page: <a href="../setup/email.test.php" target="_blank">email.test.php</a> is available for testing and troubleshooting your PHP mail configuration.</p>
<p>To be executed, actions must be associated to triggers.
When associated with a trigger, each action is given an "order" number, specifying in which order the actions are to be executed.</p>',
'UI:NotificationsMenu:Triggers' => 'Triggers',
@@ -1007,6 +1010,9 @@ When associated with a trigger, each action is given an "order" number, specifyi
'UI:NotificationsMenu:OnStateEnter' => 'When an object enters a given state',
'UI:NotificationsMenu:OnStateLeave' => 'When an object leaves a given state',
'UI:NotificationsMenu:Actions' => 'Actions',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)',
'UI:NotificationsMenu:Actions:Action' => 'Other actions',
'UI:NotificationsMenu:AvailableActions' => 'Available actions',
'Menu:TagAdminMenu' => 'Tags configuration',

View File

@@ -990,18 +990,24 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
</ol>
</p>
<p>
<i>Las <b>Acciones</b></i> definen las acciones a ser ejecutadas cuando los disparadores se disparan, por ahora el único tipo de acción consiste en enviar un mensaje de correo.
Tales acciones tambien definen la plantilla a ser usada para enviar el correo asi como otros parametros del mensaje como receptor, importancia, etc.
<i>Las <b>Acciones</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Una página especial: <a href="../setup/email.test.php" target="_blank">email.test.php</a> está disponible para probar y diagnosticar su configuración de correo de PHP.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Una página especial: <a href="../setup/email.test.php" target="_blank">email.test.php</a> está disponible para probar y diagnosticar su configuración de correo de PHP.</p>
<p>Para ser ejecutadas, las acciones deben estar asociadas con los disparadores.
Cuando se asocien con un disparador, cada acción recibe un número de "orden", esto especifica en que orden se ejecutaran las acciones.</p>',
Cuando se asocien con un disparador, cada acción recibe un número de "orden", esto especifica en que orden se ejecutaran las acciones.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Disparadores',
'UI:NotificationsMenu:AvailableTriggers' => 'Disparadores disponibles',
'UI:NotificationsMenu:OnCreate' => 'Cuando un objeto es creado',
'UI:NotificationsMenu:OnStateEnter' => 'Cuando un objeto entra a un estado específico',
'UI:NotificationsMenu:OnStateLeave' => 'Cuando un objeto sale de un estado específico',
'UI:NotificationsMenu:Actions' => 'Acciones',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Acciones Disponibles',
'Menu:TagAdminMenu' => 'Configuración de Etiquetas',

View File

@@ -969,7 +969,7 @@ Nous espérons que vous aimerez cette version autant que nous avons eu du plaisi
'Menu:NotificationsMenu+' => 'Configuration des Notifications',// Duplicated into itop-welcome-itil (will be removed from here...)
'UI:NotificationsMenu:Title' => 'Configuration des Notifications',
'UI:NotificationsMenu:Help' => 'Aide',
'UI:NotificationsMenu:HelpContent' => '<p>Dans iTop les notifications sont totalement configurables. Elles sont basées sur deux types d\'objets: <i>déclencheurs et actions</i>.</p>
'UI:NotificationsMenu:HelpContent' => '<p>Dans '.ITOP_APPLICATION_SHORT.' les notifications sont totalement configurables. Elles sont basées sur deux types d\'objets: <i>déclencheurs et actions</i>.</p>
<p><i><b>Les déclencheurs</b></i> définissent quand une notification sera exécutée. Il y a différents déclencheurs qui font partie du noyau d\'iTop, mais d\'autres peuvent être apportés par des extensions :
<ol>
<li>Certains déclencheurs sont exécutés lorsqu\'un objet de la classe spécifiée est <b>créé</b>, <b>mis à jour</b> ou <b>supprimé</b>.</li>
@@ -978,9 +978,13 @@ Nous espérons que vous aimerez cette version autant que nous avons eu du plaisi
</ol>
</p>
<p>
<i><b>Les actions</b></i> définissent ce qui doit être exécuté. Pour le moment il existe un seul type d\'action: l\'envoi de mail.
Les actions de type mail définissent le modèle du message ainsi que les autres paramètres (destinataires, importance, etc.)</p>
<p>Une page spéciale: <a href="../setup/email.test.php" target="_blank">email.test.php</a> permet de tester votre configuration mail PHP.</p>
<i><b>Les actions</b></i> définissent ce qui doit être exécuté. Pour le moment il existe deux types d\'actions :
<ol>
<li>L\'envoi de mél : Les actions de type mél définissent le modèle du message ainsi que les autres paramètres (destinataires, importance, etc.).<br />
Une page spéciale : <a href="../setup/email.test.php" target="_blank">email.test.php</a> permet de tester votre configuration mail PHP.</li>
<li>Les webhooks sortants : Les actions de type webhooks permettent l\'intégration avec une application tierce en transmettant des données structurées à une URL définie.</li>
</ol>
</p>
<p>Les actions doivent être associées à des déclencheurs pour pouvoir être exécutées.
Lors de l\'association à un déclencheur, on attribue à chaque action un numéro d\'ordre, qui définit la séquence des actions à exécuter.</p>',
'UI:NotificationsMenu:Triggers' => 'Déclencheurs',
@@ -989,6 +993,9 @@ Lors de l\'association à un déclencheur, on attribue à chaque action un numé
'UI:NotificationsMenu:OnStateEnter' => 'Quand un objet entre dans un état donné',
'UI:NotificationsMenu:OnStateLeave' => 'Quand un objet quitte un état donné',
'UI:NotificationsMenu:Actions' => 'Actions',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Actions de type mél',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Actions de type webhook (intégrations sortantes)',
'UI:NotificationsMenu:Actions:Action' => 'Autres types d\'actions',
'UI:NotificationsMenu:AvailableActions' => 'Actions existantes',
'Menu:TagAdminMenu' => 'Étiquettes',

View File

@@ -967,9 +967,13 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
</ol>
</p>
<p>
<i><b>Akciók</b></i> határozzák meg mit kell végrehjatani a kiváltó ok bekövetkezésekor. Jelenleg egyetlen akció fajta van: e-mail küldés.Természetesen az egyedi akciókbna meg lehet határozni a levél alapját képző sablont és az abba beépülő speciális paramétereket, pl.: címzett, fontossás, stb.
<i><b>Akciók</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Speciális oldal: <a href="../setup/email.test.php" target="_blank">email.test.php</a> oldalon keresztül a PHP mail konfiguráció tesztelhető.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Speciális oldal: <a href="../setup/email.test.php" target="_blank">email.test.php</a> oldalon keresztül a PHP mail konfiguráció tesztelhető.</p>
<p>Akció végrehjatásához azt kiváltó okhoz kell rendelni.
Akció kiváltó okhoz rendelésekor kap egy sorszámot , amely meghatározza az akciók végrehatási sorrendjét.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Kiváltó okok',
@@ -978,6 +982,9 @@ Akció kiváltó okhoz rendelésekor kap egy sorszámot , amely meghatározza az
'UI:NotificationsMenu:OnStateEnter' => 'Objketum állapotba való belépése',
'UI:NotificationsMenu:OnStateLeave' => 'Objektum állotból való kilépése',
'UI:NotificationsMenu:Actions' => 'Akciók',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Lehetséges akciók',
'Menu:TagAdminMenu' => 'Tags configuration~~',

View File

@@ -976,21 +976,26 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
<li>Alcuni trigger sono eseguiti quando un oggetto di una data classe <b>entra</b> o <b>lascia</b> uno <b>stato specificato</b>.</li>
<li>Alcuni trigger sono eseguiti quando una <b>soglia</b> su <b>TTO</b> o <b>TTR</b> è stata <b>raggiunta</b>.</li>
</ol>
</p>
<p>
<i><b>Azioni</b></i> definire le azioni da eseguire quando il trigger vengono eseguiti. Per ora c\'è solo un tipo di azione consiste nel mandare un messaggio email.
Inoltre, tali azioni definiscono il modello da utilizzare per l\'invio della e-mail così come gli altri parametri del messaggio come, l\'importanza dei destinatari, etc
<i><b>Azioni</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Una Pagina speciale: <a href="../setup/email.test.php" target="_blank">email.test.php</a> è disponibile per il testing e la risoluzione dei problemi di configurazione PHP mail.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Una Pagina speciale: <a href="../setup/email.test.php" target="_blank">email.test.php</a> è disponibile per il testing e la risoluzione dei problemi di configurazione PHP mail.</p>
<p>Per essere eseguite, le azioni devono essere associate ai trigger.
Quando è associata a un trigger, ad ogni azione è assegnato un numero "ordine", che specifica in quale ordine le azioni devono essere eseguite.</p>',
Quando è associata a un trigger, ad ogni azione è assegnato un numero "ordine", che specifica in quale ordine le azioni devono essere eseguite.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Triggers',
'UI:NotificationsMenu:AvailableTriggers' => 'Triggers Disponibili',
'UI:NotificationsMenu:OnCreate' => 'When an object is created~~',
'UI:NotificationsMenu:OnStateEnter' => 'Quando un oggetto viene creato',
'UI:NotificationsMenu:OnStateLeave' => 'Quando un oggetto lascia un determinato stato',
'UI:NotificationsMenu:Actions' => 'Azioni',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Azioni disponibili',
'Menu:TagAdminMenu' => 'Tags configuration~~',

View File

@@ -958,7 +958,7 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'Menu:NotificationsMenu+' => '通知の設定', // Duplicated into itop-welcome-itil (will be removed from here...)
'UI:NotificationsMenu:Title' => '通知の設定',
'UI:NotificationsMenu:Help' => 'ヘルプ',
'UI:NotificationsMenu:HelpContent' => '<p>iTopでは、通知はすべてカスタマイズが可能です。通知は<i>トリガーとアクション</i>という二つのオブジェクトがベースになっています。
'UI:NotificationsMenu:HelpContent' => '<p>'.ITOP_APPLICATION_SHORT.'では、通知はすべてカスタマイズが可能です。通知は<i>トリガーとアクション</i>という二つのオブジェクトがベースになっています。
<p><i><b>Triggers</b></i> define when a notification will be executed. There are different triggers as part of iTop core, but others can be brought by extensions:
<ol>
<li>Some triggers are executed when an object of the specified class is <b>created</b>, <b>updated</b> or <b>deleted</b>.</li>
@@ -967,10 +967,13 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
</ol>
</p>
<p>
<i><b>アクション</b></i>はトリガーが実行される際の動作を定義します。例えば今、「メールを送信する」という動作で構成されるたった1種類だけのアクションがあるとします。
このようなアクションは、受信者、重要度といったメッセージに付随する他のパラメータと同様、メール送信に利用されるテンプレートも定義します。
<i><b>アクション</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
特別なページ: <a href="../setup/email.test.php" target="_blank">email.test.php</a> は、PHPのメール設定をテストしたりトラブルシュートするのに利用可能であす。</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>特別なページ: <a href="../setup/email.test.php" target="_blank">email.test.php</a> は、PHPのメール設定をテストしたりトラブルシュートするのに利用可能であす。</p>
<p>実行するには、アクションがトリガーに関連づけられている必要があります。
トリガーに関連づけられると、各々のアクションは順番が与えられ、どの順序でアクションが実行されるかが指定されます。</p>~~',
'UI:NotificationsMenu:Triggers' => 'トリガー',
@@ -979,6 +982,9 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'UI:NotificationsMenu:OnStateEnter' => 'オブジェクトが指定状態に入った時',
'UI:NotificationsMenu:OnStateLeave' => 'オブジェクトが指定状態から出た時',
'UI:NotificationsMenu:Actions' => 'アクション',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => '利用可能アクション',
'Menu:TagAdminMenu' => 'Tags configuration~~',

View File

@@ -969,7 +969,7 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Menu:NotificationsMenu+' => 'Configuratie van de meldingen', // Duplicated into itop-welcome-itil (will be removed from here...)
'UI:NotificationsMenu:Title' => 'Configuratie van Meldingen',
'UI:NotificationsMenu:Help' => 'Help',
'UI:NotificationsMenu:HelpContent' => '<p>In ITOP_APPLICATION_SHORT zijn de meldingen volledig aan te passen. Ze zijn gebaseerd op twee sets van objecten: <i>triggers and actions</i>.</p>
'UI:NotificationsMenu:HelpContent' => '<p>In '.ITOP_APPLICATION_SHORT.' zijn de meldingen volledig aan te passen. Ze zijn gebaseerd op twee sets van objecten: <i>triggers and actions</i>.</p>
<p><i><b>Triggers</b></i> bepalen wanneer er een melding is. Er zijn verschillende triggers als onderdeel van ITOP_APPLICATION_SHORT core, maar andere kunnen door middel van uitbreidingen worden toegevoegd.
<p>Sommige triggers worden uitgevoerd:</p>
@@ -981,18 +981,24 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
</ol>
</p>
<p>
<i><b>Acties</b></i> bepalen de acties (zoals het versturen van meldingen) die uitgevoerd worden bij een bepaalde trigger.
Op dit moment is er slechts een standaardactie: het verzenden van een e-mail.
Per actie kan je ook het sjabloon instellen die gebruikt moet worden voor het versturen van de e-mail, maar ook andere e-mailparameters zoals de ontvangers, de prioriteit, enz. </p>
<p>Een <a href="../setup/email.test.php" target="_blank">speciale testpagina (email.test.php)</a> is beschikbaar voor het testen en oplossen van eventuele problemen met jouw PHP e-mailconfiguratie.</p>
<i><b>Acties</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Een <a href="../setup/email.test.php" target="_blank">speciale testpagina (email.test.php)</a> is beschikbaar voor het testen en oplossen van eventuele problemen met jouw PHP e-mailconfiguratie.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Acties moeten gekoppeld zijn aan triggers.
Bij die koppeling wordt aan elke actie een volgorde-nummer gegeven. Dit bepaalt in welke volgorde de acties moeten worden uitgevoerd.</p>',
Bij die koppeling wordt aan elke actie een volgorde-nummer gegeven. Dit bepaalt in welke volgorde de acties moeten worden uitgevoerd.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Triggers',
'UI:NotificationsMenu:AvailableTriggers' => 'Beschikbare triggers',
'UI:NotificationsMenu:OnCreate' => 'Wanneer een object is aangemaakt',
'UI:NotificationsMenu:OnStateEnter' => 'Wanneer een object een bepaalde fase intreedt',
'UI:NotificationsMenu:OnStateLeave' => 'Wanneer een object een bepaalde fase uittreedt',
'UI:NotificationsMenu:Actions' => 'Acties',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Beschikbare acties',
'Menu:TagAdminMenu' => 'Tags-configuratie',

View File

@@ -980,18 +980,24 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
</ol>
</p>
<p>
<i><b>Działania</b></i> definiuje działania, które mają zostać wykonane, gdy wyzwalacze zostaną wykonane. Na razie istnieje tylko jeden rodzaj działania polegający na wysłaniu wiadomości e-mail.
Takie działania definiują również szablon, który ma być używany do wysyłania wiadomości e-mail, a także inne parametry wiadomości, takie jak odbiorcy, ważność itp.
<i><b>Działania</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Specjalna strona: <a href="../setup/email.test.php" target="_blank">email.test.php</a> jest dostępna do testowania i rozwiązywania problemów z konfiguracją poczty PHP.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Specjalna strona: <a href="../setup/email.test.php" target="_blank">email.test.php</a> jest dostępna do testowania i rozwiązywania problemów z konfiguracją poczty PHP.</p>
<p>Aby zostały wykonane, działania muszą być powiązane z wyzwalaczami.
W przypadku powiązania z wyzwalaczem, każde działanie otrzymuje numer "porządkowy", określający, w jakiej kolejności mają być wykonywane.</p>',
W przypadku powiązania z wyzwalaczem, każde działanie otrzymuje numer "porządkowy", określający, w jakiej kolejności mają być wykonywane.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Wyzwalacze',
'UI:NotificationsMenu:AvailableTriggers' => 'Dostępne wyzwalacze',
'UI:NotificationsMenu:OnCreate' => 'Kiedy obiekt jest tworzony',
'UI:NotificationsMenu:OnStateEnter' => 'Kiedy obiekt wejdzie w określony stan',
'UI:NotificationsMenu:OnStateLeave' => 'Kiedy obiekt opuszcza dany stan',
'UI:NotificationsMenu:Actions' => 'Działania',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Dostępne działania',
'Menu:TagAdminMenu' => 'Konfiguracja tagów',

View File

@@ -978,10 +978,13 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
</ol>
</p>
<p>
<i><b>Ações</b></i> define the actions to be performed when the triggers execute. For now there is only one kind of action consisting in sending an email message.
Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.
<i><b>Ações</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
A special page: <a href="../setup/email.test.php" target="_blank">email.test.php</a> is available for testing and troubleshooting your PHP mail configuration.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>A special page: <a href="../setup/email.test.php" target="_blank">email.test.php</a> is available for testing and troubleshooting your PHP mail configuration.</p>
<p>To be executed, actions must be associated to triggers.
When associated with a trigger, each action is given an "order" number, specifying in which order the actions are to be executed.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Gatilhos',
@@ -990,6 +993,9 @@ When associated with a trigger, each action is given an "order" number, specifyi
'UI:NotificationsMenu:OnStateEnter' => 'When an object enters a given state',
'UI:NotificationsMenu:OnStateLeave' => 'When an object leaves a given state',
'UI:NotificationsMenu:Actions' => 'Ações',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Available actions',
'Menu:TagAdminMenu' => 'Configuração de tags',

View File

@@ -986,17 +986,23 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
</ol>
</p>
<p>
<i><b>Действия</b></i> определяют, что произойдет при срабатывании триггера. Базовое действие в '.ITOP_APPLICATION_SHORT.' – <b>Уведомление по email</b>, дополнительные действия добавляются расширениями.
Действие <b>Уведомление по email</b> задаёт шаблон сообщения, который будет использоваться для отправки письма, а также другие параметры, такие как получатели, важность и т.д.
<i><b>Действия</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Для тестирования и устранения неполадок в настройках почты доступна специальная страница: <a href="../setup/email.test.php" target="_blank">email.test.php</a>.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Для тестирования и устранения неполадок в настройках почты доступна специальная страница: <a href="../setup/email.test.php" target="_blank">email.test.php</a>.</p>
<p>Для выполнения действия связываются с триггерами. При связывании с триггером каждому действию присваивается порядковый номер, который указывает на очерёдность выполнения действий при срабатывании триггера.</p>',
<p>Для выполнения действия связываются с триггерами. При связывании с триггером каждому действию присваивается порядковый номер, который указывает на очерёдность выполнения действий при срабатывании триггера.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Триггеры',
'UI:NotificationsMenu:AvailableTriggers' => 'Доступные триггеры',
'UI:NotificationsMenu:OnCreate' => 'При создании объекта',
'UI:NotificationsMenu:OnStateEnter' => 'При входе объекта в заданное состояние',
'UI:NotificationsMenu:OnStateLeave' => 'При выходе объекта из заданного состояния',
'UI:NotificationsMenu:Actions' => 'Действия',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Доступные действия',
'Menu:TagAdminMenu' => 'Теги',

View File

@@ -970,18 +970,24 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
</ol>
</p>
<p>
<i><b>Akcie</b></i> definujte akcie, ktoré budú vykonané, keď sa spúštače spustia. Zatiaľ je tu iba 1 druh akcie pozostávajúci zo zasielania emailovej správy.
Také akcie tiež definujú šablónu, ktorá bude použitá pre zasielanie emailov ako aj ostatné parametre správy ako prijímatelia, dôležitosť, atď.
<i><b>Akcie</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Špeciálna stránka: <a href="../setup/email.test.php" target="_blank">email.test.php</a> je dostupná pre testovanie a odstraňovanie problémov Vašej PHP mailovej konfigurácie.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Špeciálna stránka: <a href="../setup/email.test.php" target="_blank">email.test.php</a> je dostupná pre testovanie a odstraňovanie problémov Vašej PHP mailovej konfigurácie.</p>
<p>Na vykonanie, akcie musia byť priradené spúštačom.
Keď sú priradené spúštačom, každej akcii je dané číslo "príkazu", špecifikujúce v akej postupnosti budú akcie vykonané.</p>',
Keď sú priradené spúštačom, každej akcii je dané číslo "príkazu", špecifikujúce v akej postupnosti budú akcie vykonané.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Spúštače',
'UI:NotificationsMenu:AvailableTriggers' => 'Dostupné spúštače',
'UI:NotificationsMenu:OnCreate' => 'Keď je objekt vytvorený',
'UI:NotificationsMenu:OnStateEnter' => 'Keď objekt vstupuje do daného stavu',
'UI:NotificationsMenu:OnStateLeave' => 'Keď objekt vychádza z daného stavu',
'UI:NotificationsMenu:Actions' => 'Akcie',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Dostupné akcie',
'Menu:TagAdminMenu' => 'Tags configuration~~',

View File

@@ -969,7 +969,7 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Menu:NotificationsMenu+' => 'Uyarıların yapılandırılması', // Duplicated into itop-welcome-itil (will be removed from here...)
'UI:NotificationsMenu:Title' => 'Uyarıların yapılandırılması',
'UI:NotificationsMenu:Help' => 'Yardım',
'UI:NotificationsMenu:HelpContent' => '<p>In iTop uyarı mekanizması ihtiyaca göre uyarlanabilir. Uyarılar iki tip nesne üzerine kurulmuştur: <i>tetikleme (triggers) ve işlemler (actions)</i>.</p>
'UI:NotificationsMenu:HelpContent' => '<p>In '.ITOP_APPLICATION_SHORT.' uyarı mekanizması ihtiyaca göre uyarlanabilir. Uyarılar iki tip nesne üzerine kurulmuştur: <i>tetikleme (triggers) ve işlemler (actions)</i>.</p>
<p><i><b>Triggers</b></i> define when a notification will be executed. There are different triggers as part of iTop core, but others can be brought by extensions:
<ol>
<li>Some triggers are executed when an object of the specified class is <b>created</b>, <b>updated</b> or <b>deleted</b>.</li>
@@ -978,10 +978,13 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
</ol>
</p>
<p>
<i><b>Actions</b></i> tetikleme olduğunda yapılacak işlemleri belirler. Şimdilik sadece e-posta gönderme işlemi yapılabilmektedir.
E-posta için şablon tanımlanabilmektedir. Şablona parametreler girilebilmektedir (recipients, importance, etc.).
<i><b>Actions</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
Özel sayfa: <a href="../setup/email.test.php" target="_blank">email.test.php</a> PHP e-posta konfigürnunu test ediniz.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>Özel sayfa: <a href="../setup/email.test.php" target="_blank">email.test.php</a> PHP e-posta konfigürnunu test ediniz.</p>
<p>İşlemin gerçekleşmesi için bir tetikleme ile ilişkilendirilmesi gerekir.
Tetikleme gerçekleştiriğinde işlemler tanımlanan sıra numarası ile gerçekleştirilir.</p>~~',
'UI:NotificationsMenu:Triggers' => 'Tetikleyiciler',
@@ -990,6 +993,9 @@ Tetikleme gerçekleştiriğinde işlemler tanımlanan sıra numarası ile gerçe
'UI:NotificationsMenu:OnStateEnter' => 'Nesnenin durumuna girişinde',
'UI:NotificationsMenu:OnStateLeave' => 'Nesnenin durumdan çıkışında',
'UI:NotificationsMenu:Actions' => 'İşlemler',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => 'Kullanılabilir işlemler',
'Menu:TagAdminMenu' => 'Tags configuration~~',

View File

@@ -969,8 +969,8 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Menu:NotificationsMenu+' => '配置通知', // Duplicated into itop-welcome-itil (will be removed from here...)
'UI:NotificationsMenu:Title' => '配置 通知',
'UI:NotificationsMenu:Help' => '帮助',
'UI:NotificationsMenu:HelpContent' => '<p>在iTop 中, 通知可以被自定义. 它们是基于两个对象集: <i>触发器和操作</i>.</p>
<p><i><b>触发器</b></i> 定义了什么时候发送通知. iTop core 自带一些触发器, 另一些触发器可由扩展提供:
'UI:NotificationsMenu:HelpContent' => '<p>在'.ITOP_APPLICATION_SHORT.' 中, 通知可以被自定义. 它们是基于两个对象集: <i>触发器和操作</i>.</p>
<p><i><b>触发器</b></i> 定义了什么时候发送通知. '.ITOP_APPLICATION_SHORT.' core 自带一些触发器, 另一些触发器可由扩展提供:
<ol>
<li>Some triggers are executed when an object of the specified class is <b>created</b>, <b>updated</b> or <b>deleted</b>.</li>
<li>Some triggers are executed when an object of a given class <b>enter</b> or <b>leave</b> a specified </b>state</b>.</li>
@@ -978,10 +978,13 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
</ol>
</p>
<p>
<i><b>操作</b></i> 定义了触发时要执行的操作. 目前, 仅有的一种操作就是外发邮件.
包含邮件模板(定义发件人、收件人、重要性等).
<i><b>操作</b></i> define the actions to be performed when the triggers execute. For now there are only two kind of actions:
<ol>
<li>Sending an email message: Such actions also define the template to be used for sending the email as well as the other parameters of the message like the recipients, importance, etc.<br />
这里有一个专用的页面: <a href="../setup/email.test.php" target="_blank">email.test.php</a> 可用于测试和调试PHP 的邮件配置.</li>
<li>Outgoing webhooks: Allow integration with a third-party application by sending structured data to a defined URL.</li>
</ol>
</p>
<p>这里有一个专用的页面: <a href="../setup/email.test.php" target="_blank">email.test.php</a> 可用于测试和调试PHP 的邮件配置.</p>
<p>若要执行, 操作必须和触发器相关联.
当与一个触发器关联时, 每个操作都被赋予一个顺序号, 规定了按什么样的顺序执行这些操作.</p>~~',
'UI:NotificationsMenu:Triggers' => '触发器',
@@ -990,6 +993,9 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'UI:NotificationsMenu:OnStateEnter' => '当对象进入指定状态',
'UI:NotificationsMenu:OnStateLeave' => '当对象离开指定状态',
'UI:NotificationsMenu:Actions' => '操作',
'UI:NotificationsMenu:Actions:ActionEmail' => 'Email actions~~',
'UI:NotificationsMenu:Actions:ActionWebhook' => 'Webhook actions (outgoing integrations)~~',
'UI:NotificationsMenu:Actions:Action' => 'Other actions~~',
'UI:NotificationsMenu:AvailableActions' => '有效的操作',
'Menu:TagAdminMenu' => '标签配置',

View File

@@ -30,6 +30,70 @@ require_once(APPROOT.'/application/loginwebpage.class.inc.php');
LoginWebPage::DoLogin(); // Check user rights and prompt if needed
ApplicationMenu::CheckMenuIdEnabled("NotificationsMenu");
/**
* @param \iTopWebPage $oP
* @param string $sClassToDisplay
* @param array $aClassesToExclude
*
* @throws \ApplicationException
* @throws \CoreException
* @throws \DictExceptionMissingString
* @since 3.0.0
*/
function DisplayActionsTab(iTopWebPage &$oP, string $sClassToDisplay, array $aClassesToExclude = []): void
{
// Check if class exists
if (! MetaModel::IsValidClass($sClassToDisplay)) {
return;
}
$aActionClasses = array();
foreach(MetaModel::EnumChildClasses($sClassToDisplay, ENUM_CHILD_CLASSES_ALL, true) as $sActionClass) {
// Ignore abstract classes
if (MetaModel::IsAbstract($sActionClass)) {
continue;
}
// Ignore specific classes
foreach ($aClassesToExclude as $sClassToExclude) {
if (is_a($sActionClass, $sClassToExclude, true)) {
continue 2;
}
}
$aActionClasses[] = $sActionClass;
}
// Don't display tab if no action class
if (count($aActionClasses) === 0) {
return;
}
$oP->SetCurrentTab('UI:NotificationsMenu:Actions:'.$sClassToDisplay);
$sNbOfActionClassesTitle = '';
if (count($aActionClasses) == 1)
{
// Preserve old style
$sNbOfActionClassesTitle = Dict::S('UI:NotificationsMenu:AvailableActions');
}
$iBlock = 0;
foreach($aActionClasses as $sActionClass)
{
if (count($aActionClasses) > 1)
{
// New style
$sNbOfActionClassesTitle = MetaModel::GetName($sActionClass);
}
$oFilter = new DBObjectSearch($sActionClass);
$oFilter->AddCondition('finalclass', $sActionClass); // derived classes will be further processed
$aParams = array('panel_title' => $sNbOfActionClassesTitle);
$oBlock = new DisplayBlock($oFilter, 'list', false, $aParams);
$oBlock->Display($oP, 'block_action_'.$iBlock, $aParams);
$iBlock++;
}
}
// Main program
//
$oP = new iTopWebPage(Dict::S('Menu:NotificationsMenu+'));
@@ -47,6 +111,10 @@ $oConfigurationHelp
->EnableSaveCollapsibleState('notifications__home');
$oPageContentLayout->AddMainBlock($oConfigurationHelp);
/*************************************
* Triggers tab
************************************/
$oP->AddTabContainer('Tabs_0');
$oP->SetCurrentTabContainer('Tabs_0');
@@ -57,39 +125,17 @@ $aParams = array('panel_title' => Dict::S('UI:NotificationsMenu:AvailableTrigger
$oBlock = new DisplayBlock($oFilter, 'list', false, $aParams);
$oBlock->Display($oP, 'block_0', $aParams);
/*************************************
* Actions tabs
************************************/
$aActionClasses = array();
foreach(MetaModel::EnumChildClasses('Action', ENUM_CHILD_CLASSES_EXCLUDETOP) as $sActionClass)
{
if (!MetaModel::IsAbstract($sActionClass))
{
$aActionClasses[] = $sActionClass;
}
}
DisplayActionsTab($oP, 'ActionEmail');
DisplayActionsTab($oP, 'ActionWebhook');
DisplayActionsTab($oP, 'Action', ['ActionEmail', 'ActionWebhook']);
$oP->SetCurrentTab('UI:NotificationsMenu:Actions');
$sNbOfActionClassesTitle = '';
if (count($aActionClasses) == 1)
{
// Preserve old style
$sNbOfActionClassesTitle = Dict::S('UI:NotificationsMenu:AvailableActions');
}
$iBlock = 0;
foreach($aActionClasses as $sActionClass)
{
if (count($aActionClasses) > 1)
{
// New style
$sNbOfActionClassesTitle = MetaModel::GetName($sActionClass);
}
$oFilter = new DBObjectSearch($sActionClass);
$oFilter->AddCondition('finalclass', $sActionClass); // derived classes will be further processed
$aParams = array('panel_title' => $sNbOfActionClassesTitle);
$oBlock = new DisplayBlock($oFilter, 'list', false, $aParams);
$oBlock->Display($oP, 'block_action_'.$iBlock, $aParams);
$iBlock++;
}
/*************************************
* End reset
************************************/
$oP->SetCurrentTab('');
$oP->SetCurrentTabContainer('');