diff options
author | Simon Rettberg | 2019-03-19 14:31:33 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-19 14:31:33 +0100 |
commit | 7d839511c1d51cd31a7a6025839d400c43dd0d3c (patch) | |
tree | 33b8156b44e536b47f8764287564d80b4f636552 /modules-available/statistics/templates/machine-bios-update.html | |
parent | [statistics] Feature: BIOS update info (diff) | |
download | slx-admin-7d839511c1d51cd31a7a6025839d400c43dd0d3c.tar.gz slx-admin-7d839511c1d51cd31a7a6025839d400c43dd0d3c.tar.xz slx-admin-7d839511c1d51cd31a7a6025839d400c43dd0d3c.zip |
[statistics] Show error message if BIOS info fetching fails
Diffstat (limited to 'modules-available/statistics/templates/machine-bios-update.html')
-rw-r--r-- | modules-available/statistics/templates/machine-bios-update.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules-available/statistics/templates/machine-bios-update.html b/modules-available/statistics/templates/machine-bios-update.html index 2e8a8908..96e64850 100644 --- a/modules-available/statistics/templates/machine-bios-update.html +++ b/modules-available/statistics/templates/machine-bios-update.html @@ -1,3 +1,7 @@ +{{#error}} + <div class="warn" style="white-space: normal"><b>{{lang_biosUpdate}}</b>: {{error}}</div> +{{/error}} +{{^error}} <div><span class="btn btn-{{class}} btn-sm" data-toggle="modal" data-target="#bios-modal"> {{lang_biosUpdate}} » </span></div> @@ -23,4 +27,5 @@ </div> </div> </div> -</div>
\ No newline at end of file +</div> +{{/error}}
\ No newline at end of file |