summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/machine-bios-update.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/statistics/templates/machine-bios-update.html')
-rw-r--r--modules-available/statistics/templates/machine-bios-update.html7
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}} &raquo;
</span></div>
@@ -23,4 +27,5 @@
</div>
</div>
</div>
-</div> \ No newline at end of file
+</div>
+{{/error}} \ No newline at end of file