Kaynağa Gözat

Dispatched sample data for notifications (user requests vs incident tickets)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@836 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 yıl önce
ebeveyn
işleme
fe987b6f39

+ 0 - 2
dictionaries/fr.dictionary.itop.ui.php

@@ -775,8 +775,6 @@ Dict::Add('FR FR', 'French', 'Français', array(
 	'Menu:ExportMenu' => 'Exportation',
 	'Menu:ExportMenu+' => 'Exportation des résultats d\'une requête en HTML, CSV ou XML',
 	
-	'Menu:IncidentManagementMenu' => 'Gestion des Incidents',
-	'Menu:IncidentManagementMenu+' => 'Gestion des Incidents',
 	'UI:IncidentManagementMenu:Title' => 'Résumé des incidents',
 	'UI-IncidentManagementMenu-IncidentsByType' => 'Incidents par type',
 	'UI-IncidentManagementMenu-IncidentsByStatus' => 'Incidents par état',

+ 0 - 0
modules/itop-tickets-1.0.0/data.struct.ta-links.xml → modules/itop-incident-mgmt-1.0.0/data.struct.ta-links.xml


+ 0 - 0
modules/itop-tickets-1.0.0/data.struct.ta-triggers.xml → modules/itop-incident-mgmt-1.0.0/data.struct.ta-triggers.xml


+ 2 - 1
modules/itop-incident-mgmt-1.0.0/module.itop-incident-mgmt.php

@@ -31,7 +31,8 @@ SetupWebPage::AddModule(
 			'es_cr.dict.itop-incident-mgmt.php',
 		),
 		'data.struct' => array(
-			//'data.struct.itop-incident-mgmt.xml',
+			'data.struct.ta-triggers.xml',
+			'data.struct.ta-links.xml',
 		),
 		'data.sample' => array(
 			//'data.sample.itop-incident-mgmt.xml',

+ 23 - 0
modules/itop-request-mgmt-1.0.0/data.struct.ta-links.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Set>
+<lnkTriggerAction id="4">
+<action_id>2</action_id>
+<trigger_id>50</trigger_id>
+<order>1</order>
+</lnkTriggerAction>
+<lnkTriggerAction id="5">
+<action_id>3</action_id>
+<trigger_id>50</trigger_id>
+<order>2</order>
+</lnkTriggerAction>
+<lnkTriggerAction id="6">
+<action_id>3</action_id>
+<trigger_id>60</trigger_id>
+<order>1</order>
+</lnkTriggerAction>
+<lnkTriggerAction id="7">
+<action_id>1</action_id>
+<trigger_id>20</trigger_id>
+<order>1</order>
+</lnkTriggerAction>
+</Set>

+ 19 - 0
modules/itop-request-mgmt-1.0.0/data.struct.ta-triggers.xml

@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Set>
+<TriggerOnObjectCreate id="20">
+<description>User Request ticket creation</description>
+<target_class>UserRequest</target_class>
+</TriggerOnObjectCreate>
+
+<TriggerOnStateEnter id="50">
+<description>User Request ticket assigned to agent</description>
+<target_class>UserRequest</target_class>
+<state>assigned</state>
+</TriggerOnStateEnter>
+
+<TriggerOnStateEnter id="60">
+<description>User Request ticket resolved</description>
+<target_class>UserRequest</target_class>
+<state>resolved</state>
+</TriggerOnStateEnter>
+</Set>

+ 2 - 1
modules/itop-request-mgmt-1.0.0/module.itop-request-mgmt.php

@@ -30,7 +30,8 @@ SetupWebPage::AddModule(
 			'es_cr.dict.itop-request-mgmt.php',
 		),
 		'data.struct' => array(
-			//'data.struct.itop-request-mgmt.xml',
+			'data.struct.ta-triggers.xml',
+			'data.struct.ta-links.xml',
 		),
 		'data.sample' => array(
 			//'data.sample.itop-request-mgmt.xml',

+ 6 - 6
modules/itop-tickets-1.0.0/data.struct.ta-actions.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Set>
 <ActionEmail id="1">
-<name>Incident Notification to a Workgroup</name>
+<name>Notification to a Workgroup</name>
 <description>This action informs a team that a ticket has been assigned their workgroup</description>
 <status>disabled</status>
 <test_recipient></test_recipient>
@@ -13,7 +13,7 @@
 <subject>The ticket $this-&gt;name()$, priority $this-&gt;label(priority)$ has been assigned to the workgroup $this-&gt;workgroup_name$</subject>
 <body>&lt;html&gt;
 &lt;body&gt;
-&lt;p&gt;The incident ticket $this-&gt;name()$ has been assigned to the workgroup $this-&gt;workgroup_name$.&lt;/p&gt;
+&lt;p&gt;The ticket $this-&gt;name()$ has been assigned to the workgroup $this-&gt;workgroup_name$.&lt;/p&gt;
 &lt;p&gt;Description: $this-&gt;title$&lt;/p&gt;
 &lt;p&gt;Title: $this-&gt;title$&lt;/p&gt;
 &lt;hr/&gt;
@@ -23,7 +23,7 @@
 <importance>normal</importance>
 </ActionEmail>
 <ActionEmail id="2">
-<name>Incident notification to Agent</name>
+<name>Notification to Agent</name>
 <description>This action informs an agent that a ticket has been assigned to her/him</description>
 <status>disabled</status>
 <test_recipient></test_recipient>
@@ -35,7 +35,7 @@
 <subject>The ticket $this-&gt;name()$, priority $this-&gt;label(priority)$ has been assigned to you</subject>
 <body>&lt;html&gt;
 &lt;body&gt;
-&lt;p&gt;The incident ticket $this-&gt;name()$ has been assigned to you.&lt;/p&gt;
+&lt;p&gt;The ticket $this-&gt;name()$ has been assigned to you.&lt;/p&gt;
 &lt;p&gt;Description: $this-&gt;title$&lt;/p&gt; 
 &lt;p&gt;Title: $this-&gt;title$&lt;/p&gt;
 &lt;hr/&gt;
@@ -45,7 +45,7 @@
 <importance>normal</importance>
 </ActionEmail>
 <ActionEmail id="3">
-<name>Incident Notification to caller</name>
+<name>Notification to caller</name>
 <description>This action is used to inform the caller</description>
 <status>disabled</status>
 <test_recipient></test_recipient>
@@ -57,7 +57,7 @@
 <subject>Ticket $this-&gt;name()$, priority $this-&gt;label(priority)$ - $this-&gt;status$</subject>
 <body>&lt;html&gt;
 &lt;body&gt;
-&lt;p&gt;The incident ticket $this-&gt;name()$ has changed to status $this-&gt;status$&lt;/p&gt;
+&lt;p&gt;The ticket $this-&gt;name()$ has changed to status $this-&gt;status$&lt;/p&gt;
 &lt;p&gt;Last update: $this-&gt;last_update$&lt;/p&gt;
 &lt;hr/&gt;
 &lt;p&gt;for more information on this ticket, click here: $this-&gt;hyperlink(portal)$&lt;/p&gt;

+ 0 - 2
modules/itop-tickets-1.0.0/module.itop-tickets.php

@@ -29,9 +29,7 @@ SetupWebPage::AddModule(
 			'es_cr.dict.itop-tickets.php',
 		),
 		'data.struct' => array(
-			'data.struct.ta-triggers.xml',
 			'data.struct.ta-actions.xml',
-			'data.struct.ta-links.xml',
 		),
 		'data.sample' => array(
 		),