add a link to both types of node history, status and data
[monitor.git] / web / MonitorWeb / monitorweb / templates / pcuview.kid
index ed0f9e8..9390bb4 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <?python
-layout_params['page_title'] = "Monitor PCU View"
+layout_params['page_title'] = "MyOps Detail View"
 from monitor.util import diff_time
 from monitor import config
 from time import mktime
@@ -143,7 +143,7 @@ from links import *
                        <thead>
                                <tr>
                                        <th mochi:format="int"></th>
-                                       <th>History</th>
+                                       <th>History (scan)</th>
                                        <th>Hostname</th>
                                        <th>last_contact (cached)</th>
                                        <th>last_checked</th>
@@ -156,7 +156,8 @@ from links import *
                        <tbody>
                                <tr py:for="i,agg in enumerate(nodequery)" class="${i%2 and 'odd' or 'even'}" >
                                        <td></td>
-                                       <td><a href="nodehistory?hostname=${agg.node.hostname}">history</a></td>
+                                       <td><a href="nodehistory?hostname=${agg.node.hostname}">status</a>
+                                               (<a href="nodescanhistory?hostname=${agg.node.hostname}">scan</a>) history</td>
                                        <td id="node-${agg.node.observed_status}" nowrap="true" >
                                                <a class="ext-link" href="${plc_node_uri_id(agg.node.plc_node_stats['node_id'])}">
                                                        <span class="icon">${agg.node.hostname}</span></a>
@@ -200,7 +201,7 @@ from links import *
                <div id="status_block" class="flash"
             py:if="value_of('tg_flash', None)" py:content="tg_flash"></div>
 
-       <h4>Actions Over the Last Week</h4>
+       <h4>Actions Over the Last ${since} Days</h4>
                <p py:if="actions and len(actions) == 0">
                        There are no recent actions taken for this site.
                </p>