verbings administration
This commit is contained in:
@@ -42,11 +42,11 @@ $endpointUnionSql = "
|
||||
'outlet' AS endpoint_type,
|
||||
nop.id AS endpoint_id,
|
||||
nop.name AS port_name,
|
||||
CONCAT(no.name, ' / ', IFNULL(r.name, ''), ' / ', IFNULL(f.name, '')) AS owner_name,
|
||||
CONCAT(o.name, ' / ', IFNULL(r.name, ''), ' / ', IFNULL(f.name, '')) AS owner_name,
|
||||
NULL AS owner_device_id
|
||||
FROM network_outlet_ports nop
|
||||
JOIN network_outlets no ON no.id = nop.outlet_id
|
||||
LEFT JOIN rooms r ON r.id = no.room_id
|
||||
JOIN network_outlets o ON o.id = nop.outlet_id
|
||||
LEFT JOIN rooms r ON r.id = o.room_id
|
||||
LEFT JOIN floors f ON f.id = r.floor_id
|
||||
UNION ALL
|
||||
SELECT
|
||||
@@ -328,6 +328,7 @@ if ($deviceId > 0) {
|
||||
|
||||
<td class="actions">
|
||||
<a href="?module=connections&action=edit&id=<?php echo $conn['id']; ?>" class="button button-small">Bearbeiten</a>
|
||||
<a href="?module=connections&action=swap&id=<?php echo $conn['id']; ?>" class="button button-small" onclick="return confirm('Von/Nach fuer diese Verbindung vertauschen?');">Von/Nach tauschen</a>
|
||||
<a href="#" class="button button-small button-danger"
|
||||
data-confirm-delete="true"
|
||||
data-confirm-message="Diese Verbindung wirklich löschen?"
|
||||
|
||||
Reference in New Issue
Block a user