diff --git a/puppetboard/static/coffeescript/tables.coffee b/puppetboard/static/coffeescript/tables.coffee index 9b47f45..1155182 100644 --- a/puppetboard/static/coffeescript/tables.coffee +++ b/puppetboard/static/coffeescript/tables.coffee @@ -13,7 +13,7 @@ $('.facts').tablesorter( $('.dashboard').tablesorter( headers: - 2: + 3: sorter: false sortList: [[0, 1]] ) diff --git a/puppetboard/static/js/tables.js b/puppetboard/static/js/tables.js index ccac257..df7673b 100644 --- a/puppetboard/static/js/tables.js +++ b/puppetboard/static/js/tables.js @@ -21,7 +21,9 @@ $('.dashboard').tablesorter({ headers: { - 2: { sorter: false } + 3: { + sorter: false + } }, sortList: [[0, 1]] }); diff --git a/puppetboard/templates/index.html b/puppetboard/templates/index.html index d43225c..dc76ea8 100644 --- a/puppetboard/templates/index.html +++ b/puppetboard/templates/index.html @@ -65,7 +65,8 @@ Status - Hostname + Hostname + Report @@ -99,9 +100,16 @@ {{ node.name }} - - - + {% if node.report_timestamp %} + {{ node.report_timestamp }} + {% else %} + + {% endif %} + + + {% if node.report_timestamp %} + + {% endif %} {% endif %}