From e19a6ace75e534112f6d34725af4309919aa0fce Mon Sep 17 00:00:00 2001
From: Matthias Jentsch <matthias.jentsch@netways.de>
Date: Wed, 23 Oct 2013 11:32:00 +0200
Subject: [PATCH] Add missing tooltips and fix typos

fixes #4921 #4920
---
 .../application/views/scripts/process/performance.phtml       | 4 ++--
 .../application/views/scripts/show/components/comments.phtml  | 4 ++--
 .../application/views/scripts/show/components/status.phtml    | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/monitoring/application/views/scripts/process/performance.phtml b/modules/monitoring/application/views/scripts/process/performance.phtml
index 0eb188d82..962b56407 100644
--- a/modules/monitoring/application/views/scripts/process/performance.phtml
+++ b/modules/monitoring/application/views/scripts/process/performance.phtml
@@ -207,10 +207,10 @@
 
             <br />
 
-            <a
+            <a rel="tooltip" title="Disable notifications for a specific time on a program-wide basis"
                 href="<?= $this->href('monitoring/command/disablenotificationswithexpire'); ?>"
                 class="button btn-cta btn-full-width">
-                Dislable notification with expire
+                Disable notification with expire
             </a>
 
         <?php endif; ?>
diff --git a/modules/monitoring/application/views/scripts/show/components/comments.phtml b/modules/monitoring/application/views/scripts/show/components/comments.phtml
index aa0d9a02f..5348bcbc4 100644
--- a/modules/monitoring/application/views/scripts/show/components/comments.phtml
+++ b/modules/monitoring/application/views/scripts/show/components/comments.phtml
@@ -23,10 +23,10 @@
             );
         ?>
         <div class="pull-right">
-        <a href="<?= $addCommentHref; ?>" class="btn-common btn-small button">
+        <a rel="tooltip" title="Add a comment" href="<?= $addCommentHref; ?>" class="btn-common btn-small button">
             <i class="icinga-icon-comment"></i>
         </a>
-        <a href="<?= $sendNotificationHref; ?>" class="btn-common btn-small button">
+        <a rel="tooltip" title="Send custom notification" href="<?= $sendNotificationHref; ?>" class="btn-common btn-small button">
             <i class="icinga-icon-notification"></i>
         </a>
         </div>
diff --git a/modules/monitoring/application/views/scripts/show/components/status.phtml b/modules/monitoring/application/views/scripts/show/components/status.phtml
index 0fd9ca99c..75307ddd4 100644
--- a/modules/monitoring/application/views/scripts/show/components/status.phtml
+++ b/modules/monitoring/application/views/scripts/show/components/status.phtml
@@ -89,7 +89,7 @@
                             )
                         ) ?>
                 <?php else: ?>
-                    <a href="<?=
+                    <a rel="tooltip" title="Acknowledge Problems" href="<?=
                     $this->href(
                         'monitoring/command/acknowledgeproblem',
                         array(
@@ -157,7 +157,7 @@
                 <?= $this->dateFormat()->formatDateTime($object->next_check); ?>
             </div>
             <div class="panel-button">
-                <a href="<?=
+                <a rel="tooltip" title="Reschedule the next check" href="<?=
                     $this->href(
                         'monitoring/command/reschedulenextcheck',
                         array(