From b89e433f348c530b65a3a39c638e453c16f953be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Vermylen?= <aurelien.vermylen@nexedi.com>
Date: Thu, 28 Dec 2017 16:22:33 +0100
Subject: [PATCH] Clarify "Subscribe/Unsubscribe from Timer Service".

The button "Subscribe/Unsubscribe from Timer Service" does not clearly
explain the fact that it determines whether or not Alarms are enabled in
ERP5. It is very counter-intuitive to see Alarms on "enabled" in the
"Configure Alarms" screen and yet not have them being run because the
Alarm Node is not subscribed to the Timer Service.

/reviewed-on https://lab.nexedi.com/nexedi/erp5/merge_requests/539
---
 product/ERP5/dtml/manageAlarmNode.dtml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/product/ERP5/dtml/manageAlarmNode.dtml b/product/ERP5/dtml/manageAlarmNode.dtml
index d4462cb0a4..41ffdc9fad 100755
--- a/product/ERP5/dtml/manageAlarmNode.dtml
+++ b/product/ERP5/dtml/manageAlarmNode.dtml
@@ -125,6 +125,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
      </div>
     </td>
   </tr>
+  <tr>
+    <td align="left" colspan=2>
+      <p class="form-help">
+        The Timer Service runs all periodic events in ERP5. By "Subscribing" the Alarm Node to the Timer Service,
+        you will enable Alarms in ERP5, and they will thus run at their configured time intervals. Note that if you
+        do not Subscribe to the Timer Service, Alarms will <span style="font-weight: bold">not</span> run in ERP5 at all,
+        even if you have "enabled" them in the "Configure Alarms" menu of ERP5.
+      </p>
+    </td>
+  </tr>
 </table>
 </form>
 <dtml-var manage_page_footer>
-- 
2.30.9