We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6dbf4dd + f82c7fe commit 76dd898Copy full SHA for 76dd898
libs/Modules/uptime.php
@@ -26,7 +26,10 @@ public function getData( $args = array( ) )
26
$formatUptime .= $minutes . ' minute' . ( ( 1 < $minutes ) ? 's' : '' ) . ' ';
27
}
28
29
- return array(
+ if (empty($formatUptime))
30
+ $formatUptime = "n/a";
31
+
32
+ return array(
33
'Server Uptime' => $formatUptime
34
);
35
templates/app/static-data-plugin.html
@@ -6,9 +6,9 @@
6
<table>
7
<tbody ng-repeat="staticItem in staticData">
8
<tr ng-repeat="(key, val) in staticItem.info">
9
- <td>{{ key }}</td>
+ <td><strong>{{ key }}</strong></td>
10
<td>{{ val }}</td>
11
</tr>
12
</tbody>
13
</table>
14
-</plugin>
+</plugin>
0 commit comments