summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/machine-main.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-10 10:01:57 +0200
committerSimon Rettberg2017-05-10 10:01:57 +0200
commit047f348742a38b6fc34d724e69e1c9a4f90821f8 (patch)
treeec260d986336c27fa9e293da6c2b20ceb765165c /modules-available/statistics/templates/machine-main.html
parentMerge branch 'master' of dnbd3:openslx-ng/slx-admin (diff)
downloadslx-admin-047f348742a38b6fc34d724e69e1c9a4f90821f8.tar.gz
slx-admin-047f348742a38b6fc34d724e69e1c9a4f90821f8.tar.xz
slx-admin-047f348742a38b6fc34d724e69e1c9a4f90821f8.zip
[statistics] Hide "add beamer" for screens with no EDID
Diffstat (limited to 'modules-available/statistics/templates/machine-main.html')
-rw-r--r--modules-available/statistics/templates/machine-main.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html
index bdc51167..74df80c4 100644
--- a/modules-available/statistics/templates/machine-main.html
+++ b/modules-available/statistics/templates/machine-main.html
@@ -143,6 +143,7 @@
</form>
{{#screens}}
<div class="small">
+ {{#hwname}}
<div class="pull-right btn-group btn-group-xs">
{{#projector}}
<a href="?do=statistics&amp;show=projectors" class="btn btn-default">{{lang_projector}}</a>
@@ -154,7 +155,8 @@
class="btn btn-success"><span class="glyphicon glyphicon-plus"></span> {{lang_projector}}</button>
{{/projector}}
</div>
- {{connector}}: <b>{{hwname}}</b> {{resolution}}
+ {{/hwname}}
+ {{connector}}: <b>{{hwname}}</b> {{^hwname}}<i>{{lang_noEdid}}</i>{{/hwname}} {{resolution}}
<div class="clearfix"></div>
</div>
{{/screens}}
@@ -187,4 +189,4 @@ document.addEventListener("DOMContentLoaded", function () {
$(this).load('?do=statistics&lookup=' + $(this).text());
});
}, false);
-// --></script> \ No newline at end of file
+// --></script>