Title: [opsview] [9804] Host links now go to /status/service?host=x instead of status.cgi
Revision
9804
Author
pknight
Date
2012-08-13 10:44:00 +0100 (Mon, 13 Aug 2012)

Log Message

Host links now go to /status/service?host=x instead of status.cgi

Modified Paths


Modified: trunk/opsview-web/root/status/acknowledge
===================================================================
--- trunk/opsview-web/root/status/acknowledge	2012-08-13 09:37:02 UTC (rev 9803)
+++ trunk/opsview-web/root/status/acknowledge	2012-08-13 09:44:00 UTC (rev 9804)
@@ -90,7 +90,7 @@
       [% IF host.unhandled == 1 %]
       <input class="comment_selection" type="checkbox" name="host_selection" value="[% host.name | html %]" [% checked %] />
       [% END %]
-      <a href="" c.uri_for("/cgi-bin/status.cgi", { host => host.name, style => "detail" }).path_query | html %]">[% host.name | html %]</a>
+      <a href="" c.uri_for("/status/service", { host => host.name }).path_query | html %]">[% host.name | html %]</a>
       </td></tr>
       </table>
       </td>

Modified: trunk/opsview-web/root/status/recheck
===================================================================
--- trunk/opsview-web/root/status/recheck	2012-08-13 09:37:02 UTC (rev 9803)
+++ trunk/opsview-web/root/status/recheck	2012-08-13 09:44:00 UTC (rev 9804)
@@ -56,12 +56,12 @@
     even = 1 - even;
     %]
     <tr class="[% css_class_svc %]">[%
-    IF (first == 1); 
+    IF (first == 1);
       %]
       <td class="[% css_class_hst %] left">
       <table cellpadding="0" cellspacing="0" width="100%" border="0"><tr><td class="left">
       <input class="recheck_selection" type="checkbox" name="host_selection" value="[% host.name | html %]" [% checked %] />
-      <a href="" c.uri_for("/cgi-bin/status.cgi", { host => host.name, style => "detail" }).path_query | html %]">[% host.name | html %]</a>
+      <a href="" c.uri_for("/status/service", { host => host.name }).path_query | html %]">[% host.name | html %]</a>
       </td></tr>
       </table>
       </td>
@@ -74,16 +74,16 @@
     %]<td class="left">
     <table width="100%" border="0" cellspacing="0"><tr><td class="left">
     <input class="recheck_selection" type="checkbox" name="service_selection" value="[% host.name _ ';' _ service.name | html %]" [% checked %] />
-    <a href="" 
-      c.uri_for("/cgi-bin/extinfo.cgi", { type => 2, host => host.name, service => service.name }).path_query | html %]">[% 
+    <a href=""
+      c.uri_for("/cgi-bin/extinfo.cgi", { type => 2, host => host.name, service => service.name }).path_query | html %]">[%
       service.name
       %]</a>
     </td></tr>
     </table>
     </td>
-    [% 
+    [%
     print_service_status(service);
-    
+
     %]<td class="left">[% service.output %]</td>
     </tr>
   [%

Modified: trunk/opsview-web/root/status/set
===================================================================
--- trunk/opsview-web/root/status/set	2012-08-13 09:37:02 UTC (rev 9803)
+++ trunk/opsview-web/root/status/set	2012-08-13 09:44:00 UTC (rev 9804)
@@ -92,7 +92,7 @@
       %]
       <td class="[% css_class_hst %] left">
           <table cellpadding="0" cellspacing="0" width="100%" border="0"><tr><td class="left">
-          <a href="" c.uri_for("/cgi-bin/status.cgi", { host => host.name, style => "detail" }).path_query | html %]">[% host.name | html %]</a>
+          <a href="" c.uri_for("/status/service", { host => host.name }).path_query | html %]">[% host.name | html %]</a>
       </td></tr>
       </table>
       </td>

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to