set default pagesize on all views to 999
[monitor.git] / web / MonitorWeb / monitorweb / templates / actionlist.kid
index b1cd26b..ca594d7 100644 (file)
@@ -30,7 +30,7 @@ def zabbix_event_ack_link(eventid):
                <p py:if="actions and len(actions) == 0">
                        There are no recent actions taken for this site.
                </p>
-               <table id="actionlist" cellpadding="0" border="0" class="plekit_table sortable-onload-0 colstyle-alt no-arrow paginationcallback-actionlist_paginator max-pages-10 paginate-50" py:if="actions and len(actions) > 0">
+               <table id="actionlist" cellpadding="0" border="0" class="plekit_table sortable-onload-0 colstyle-alt no-arrow paginationcallback-actionlist_paginator max-pages-10 paginate-999" py:if="actions and len(actions) > 0">
                <!--table py:if="actions and len(actions) > 0" id="sortable_table" class="datagrid" border="1" width="100%"-->
                        <thead>
                                <tr>
@@ -45,12 +45,13 @@ def zabbix_event_ack_link(eventid):
                                <tr py:for="i,act in enumerate(actions)" class="${i%2 and 'odd' or 'even'}" >
                                        <td py:content="act.date_created"></td>
                                        <td py:if="act.hostname is not None" nowrap="true" >
-                                               <a class="ext-link" href="${plc_node_uri(act.hostname)}">
-                                                       <span class="icon">${act.hostname}</span></a>
+                                               <!--a class="ext-link" href="${plc_node_uri(act.hostname)}">
+                                                       <span class="icon">${act.hostname}</span></a-->
+                                               <a href="${link('detailview', hostname=act.hostname)}">${act.hostname}</a>
                                        </td>
                                        <td py:if="act.hostname is None" nowrap="true">
-                                               <a class="ext-link" href="${plc_site_uri(act.loginbase)}">
-                                                       <span class="icon">${act.loginbase}</span></a>
+                                               <a class="ext-link" href="${link('detailview', loginbase=act.loginbase)}">
+                                                       ${act.loginbase}</a>
                                        </td>
                                        <!--td py : content="diff_time(mktime(node.date_checked.timetuple()))"></td-->
                                        <td py:content="act.action_type"></td>