Fix "Sub-directory Support" in small steps (#12911)

This fixes small parts from #12205 part 4
fixes #12205

BTW: This file is a very good candidate for Laravel blade. But I have no idea what to look for in LMNS.
This commit is contained in:
Kevin Zink
2021-05-25 09:30:24 +02:00
committed by GitHub
parent 558d486a3d
commit 32cddb979f

View File

@@ -8,7 +8,7 @@ if (count($device_groups)) {
<div class='col-md-12'>
<div class='panel panel-default panel-condensed device-overview'>
<div class='panel-heading'>
<a href="/device-groups">
<a href="<?=url('device-groups')?>">
<i class="fa fa-th fa-lg icon-theme" aria-hidden="true"></i>
<strong>Device Group Membership</strong>
</a>
@@ -18,7 +18,7 @@ if (count($device_groups)) {
<div class="col-sm-12">
<?php foreach ($device_groups as $group) { ?>
<span style="margin: 8px;">
<a href="/devices/group=<?=$group['id']?>" target="_blank"><?=$group['name']?></a>
<a href="<?=url('devices/group=' . $group['id'])?>" target="_blank"><?=$group['name']?></a>
</span>
<?php } ?>
</div>