Revision b7a42d09
Added by Steve Beaver almost 8 years ago
src/usr/local/www/widgets/widgets/system_information.widget.php | ||
---|---|---|
84 | 84 |
'disk_usage' => gettext('Disk Usage') |
85 | 85 |
); |
86 | 86 |
|
87 |
// Declared here so that JavaScript can access it |
|
88 |
$updtext = sprintf(gettext("Obtaining update status %s"), "<i class='fa fa-cog fa-spin'></i>"); |
|
89 |
|
|
87 | 90 |
if ($_REQUEST['getupdatestatus']) { |
88 | 91 |
require_once("pkg-utils.inc"); |
89 | 92 |
|
... | ... | |
256 | 259 |
<?php endif; ?> |
257 | 260 |
<?php if (!isset($config['system']['firmware']['disablecheck'])): ?> |
258 | 261 |
<br /><br /> |
259 |
<div id='updatestatus'><?php echo gettext("Obtaining update status "); ?><i class="fa fa-cog fa-spin"></i></div>
|
|
262 |
<div id='updatestatus'><?=$updtext?></div>
|
|
260 | 263 |
<?php endif; ?> |
261 | 264 |
</td> |
262 | 265 |
</tr> |
Also available in: Unified diff
Added refresh icon to version display