2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

55_InfoPanel.pm: show alias in Overview

git-svn-id: https://svn.fhem.de/fhem/trunk@27257 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2023-02-20 19:21:25 +00:00
parent 1bf3643839
commit 5e3f47e4b0

View File

@ -1471,8 +1471,10 @@ sub btIP_Overview {
foreach my $def (sort keys %defs) {
if($defs{$def}{TYPE} eq "InfoPanel") {
$name= $defs{$def}{NAME};
my $alias = ' ('.AttrVal($name,'alias','').')';
$alias = '' if $alias eq ' ()';
$url= btIP_getURL();
$html.= "$name<br>\n<ul>";
$html.= "$name$alias<br>\n<ul>";
$html.= "<a href='$url/btip/$name.html' target='_blank'>HTML</a><br>\n";
$html.= "</ul>\n<p>\n";
}