Skip to content

Commit

Permalink
Fix to display an icon for open Webmin link in Cloudmin
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Dec 8, 2021
1 parent 0a157e5 commit 3b56e18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion navigation-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ sub nav_list_combined_menu
$icon = '<i class="fa fa-fw fa-area-chart"></i>';
$rv_after_local = $link;
}

if ($get_user_level == 1) {
if ($link =~ /\/virtual-server\/edit_pass\.cgi/ &&
$link !~ /\/virtual-server\/edit_pass\.cgi\?/)
Expand Down Expand Up @@ -786,7 +787,7 @@ sub nav_list_combined_menu
$link =~ /^ftps:\/\//)
{
$icon = '<i class="fa fa-fw fa-external-link"></i>';
} elsif ($link =~ /\/\.\.\/servers\/link\.cgi/) {
} elsif ($link =~ /\.\.\/servers\/link\.cgi/) {
$icon = '<i class="fa fa-fw fa-webmin scaled1_5"></i>';
}

Expand Down

0 comments on commit 3b56e18

Please sign in to comment.