From: <cl...@hy...> - 2008-04-09 04:16:15
|
Author: clee Date: 2008-04-08 21:16:11 -0700 (Tue, 08 Apr 2008) New Revision: 8753 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=8753 Modified: branches/HQ_3_2/web/resource/common/monitor/alerts/config/ViewEscalation.jsp Log: [HHQ-1926] Differentiate between notifying roles by email or sms Modified: branches/HQ_3_2/web/resource/common/monitor/alerts/config/ViewEscalation.jsp =================================================================== --- branches/HQ_3_2/web/resource/common/monitor/alerts/config/ViewEscalation.jsp 2008-04-09 03:37:36 UTC (rev 8752) +++ branches/HQ_3_2/web/resource/common/monitor/alerts/config/ViewEscalation.jsp 2008-04-09 04:16:11 UTC (rev 8753) @@ -216,7 +216,11 @@ </c:forEach> } - usersTextDiv.innerHTML = "<fmt:message key="monitoring.events.MiniTabs.Roles"/>: " + roleNames + "<br>"; + if (configSms == "true") { + usersTextDiv.innerHTML = "<fmt:message key="monitoring.events.MiniTabs.Roles"/> <fmt:message key="alert.config.action.notify.via.sms"/> " + roleNames + "<br>"; + } else { + usersTextDiv.innerHTML = "<fmt:message key="monitoring.events.MiniTabs.Roles"/> <fmt:message key="alert.config.action.notify.via.email"/> " + roleNames + "<br>"; + } } escTr2.appendChild(td3); |