Otherwise the text won't be centered in the box which looks a little bit
wrong.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
$Lang::tr{'name'}
</th>
- <th width='20%' colspan='2'>
- $Lang::tr{'status'}
- </th>
-
<th>
$Lang::tr{'remark'}
</th>
+ <th width='20%' colspan='2'>
+ $Lang::tr{'status'}
+ </th>
+
<th width='10%' colspan='3'>
$Lang::tr{'action'}
</th>
$name
</th>
+ <td>
+ $remarks
+ </td>
+END
+
+ if ($location) {
+ print <<END;
<td class="@status">
$connected
</td>
<td class="@status">
$location
</td>
-
- <td>
- $remarks
+END
+ } else {
+ print <<END;
+ <td class="@status" colspan="2">
+ $connected
</td>
+END
+ }
+ print <<END;
<td class="text-center">
<form method='post'>
<input type='image' name='$Lang::tr{'toggle enable disable'}' src='/images/$gif'