mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- Localization of the "Notifications" menu
SVN:trunk[443]
This commit is contained in:
@@ -439,54 +439,40 @@
|
||||
<label>UI:NotificationsMenu+</label>
|
||||
<hyperlink>UI.php</hyperlink>
|
||||
<icon_path></icon_path>
|
||||
<template><div class="page_header" style="padding:0.5em;">
|
||||
<h1>Configuration of the <span class="hilite">Notifications</span></h1>
|
||||
</div>
|
||||
<itoptoggle name="Help" open="true">
|
||||
<div style="padding: 1em; font-size:1.25em;background:#E8F3CF;margin-top: 0.25em;">
|
||||
<img src="../images/bell.png" style="margin-top: -60px; margin-right: 10px; float: right;">
|
||||
<p>In iTop the notifications are fully customizable. They are based on two sets of objects: <i>triggers and actions</i>.</p>
|
||||
<p><i><b>Triggers</b></i> define when a notification will be executed. There are 3 types of triggers for covering 3 differents phases of an object life cycle:
|
||||
<ol>
|
||||
<li>the 'OnCreate' triggers get executed when an object of the specified class is created</li>
|
||||
<li>the 'OnStateEnter' triggers get executed before an object of the given class enters a specified state (coming from another state)</li>
|
||||
<li>the 'OnStateLeave' triggers get executed when an object of the given class is leaving a specified state</li>
|
||||
</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.
|
||||
</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>
|
||||
</div>
|
||||
</itoptoggle>
|
||||
<p>&nbsp;</p>
|
||||
<itoptabs>
|
||||
<itoptab name="Triggers">
|
||||
<h3>Available Triggers</h3>
|
||||
<table style="border:0;border-spacing:10px;width:100%;">
|
||||
<tr>
|
||||
<td style="vertical-align:top;width:33%;padding:10px;background:#f8f8f8;">
|
||||
<h4>When an object is created</h4>
|
||||
<itopblock BlockClass="DisplayBlock" type="list" asynchronous="false" encoding="text/oql">SELECT TriggerOnObjectCreate</itopblock>
|
||||
</td>
|
||||
<td style="vertical-align:top;width:33%;padding:10px;background:#f8f8f8;">
|
||||
<h4>When an object enters a state</h4>
|
||||
<itopblock BlockClass="DisplayBlock" type="list" asynchronous="false" encoding="text/oql">SELECT TriggerOnStateEnter</itopblock>
|
||||
</td>
|
||||
<td style="vertical-align:top;width:33%;padding:10px;background:#f8f8f8;">
|
||||
<h4>When an object leaves a state</h4>
|
||||
<itopblock BlockClass="DisplayBlock" type="list" asynchronous="false" encoding="text/oql">SELECT TriggerOnStateLeave</itopblock>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</itoptab>
|
||||
<itoptab name="Actions">
|
||||
<h3>Available Actions</h3>
|
||||
<itopblock BlockClass="DisplayBlock" type="list" asynchronous="false" encoding="text/oql">SELECT ActionEmail</itopblock>
|
||||
</itoptab>
|
||||
<template><div class="page_header" style="padding:0.5em;">
|
||||
<h1><itopstring>UI:NotificationsMenu:Title</itopstring></h1>
|
||||
</div>
|
||||
<itoptoggle name="UI:NotificationsMenu:Help" open="true">
|
||||
<div style="padding: 1em; font-size:1.25em;background:#E8F3CF;margin-top: 0.25em;">
|
||||
<img src="../images/bell.png" style="margin-top: -60px; margin-right: 10px; float: right;">
|
||||
<itopstring>UI:NotificationsMenu:HelpContent</itopstring>
|
||||
</div>
|
||||
</itoptoggle>
|
||||
<p>&nbsp;</p>
|
||||
<itoptabs>
|
||||
<itoptab name="UI:NotificationsMenu:Triggers">
|
||||
<h2><itopstring>UI:NotificationsMenu:AvailableTriggers</itopstring></h2>
|
||||
<table style="border:0;border-spacing:10px;width:100%;">
|
||||
<tr>
|
||||
<td style="vertical-align:top;width:33%;padding:10px;background:#f8f8f8;">
|
||||
<h3><itopstring>UI:NotificationsMenu:OnCreate</itopstring></h3>
|
||||
<itopblock BlockClass="DisplayBlock" type="list" asynchronous="false" encoding="text/oql">SELECT TriggerOnObjectCreate</itopblock>
|
||||
</td>
|
||||
<td style="vertical-align:top;width:33%;padding:10px;background:#f8f8f8;">
|
||||
<h3><itopstring>UI:NotificationsMenu:OnStateEnter</itopstring></h3>
|
||||
<itopblock BlockClass="DisplayBlock" type="list" asynchronous="false" encoding="text/oql">SELECT TriggerOnStateEnter</itopblock>
|
||||
</td>
|
||||
<td style="vertical-align:top;width:33%;padding:10px;background:#f8f8f8;">
|
||||
<h3><itopstring>UI:NotificationsMenu:OnStateLeave</itopstring></h3>
|
||||
<itopblock BlockClass="DisplayBlock" type="list" asynchronous="false" encoding="text/oql">SELECT TriggerOnStateLeave</itopblock>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</itoptab>
|
||||
<itoptab name="UI:NotificationsMenu:Actions">
|
||||
<h2><itopstring>UI:NotificationsMenu:AvailableActions</itopstring></h2>
|
||||
<itopblock BlockClass="DisplayBlock" type="list" asynchronous="false" encoding="text/oql">SELECT ActionEmail</itopblock>
|
||||
</itoptab>
|
||||
</itoptabs></template>
|
||||
<type>administrator</type>
|
||||
<rank>2</rank>
|
||||
|
||||
Reference in New Issue
Block a user