add plain-text versions of the query output and nodelist as a test
[monitor.git] / web / MonitorWeb / monitorweb / templates / detailview.kid
index e86bbb1..ec7b131 100644 (file)
@@ -226,13 +226,15 @@ from links import *
                                        </td>
                                        <!--td py : content="diff_time(mktime(node.date_checked.timetuple()))"></td-->
                                        <td py:content="act.action_type"></td>
-                                       <td><a class="ext-link" href="${plc_mail_uri(act.message_id)}">
-                                                       <span py:if="act.message_id != 0" class="icon">${act.message_id}</span></a></td>
-                                       <td py:if="'bootmanager' in act.action_type or 'unknown' in act.action_type">
-                                               <a href="/monitorlog/bm.${act.hostname}.log">latest bm log</a>
+                                       <td>
+                                               <span py:if="act.message_id != 0">
+                                                       <a class="ext-link" href="${plc_mail_uri(act.message_id)}"><span class="icon">${act.message_id}</span></a>
+                                               </span>
+                                               <span py:if="act.message_id == 0">
+                                                       <a py:if="'bootmanager' in act.action_type or 'unknown' in act.action_type" href="/monitorlog/bm.${act.hostname}.log">latest bm log</a>
+                                               </span>
                                        </td>
-                                       <td py:if="'bootmanager' not in act.action_type">
-                                               <pre py:content="act.error_string"></pre></td>
+                                       <td><pre py:content="act.error_string"></pre></td>
                                </tr>
                        </tbody>
                </table>