From 6a14af2227b463f72d7fe0b2bbdb600bc7cdbe23 Mon Sep 17 00:00:00 2001 From: Jocadbz Date: Tue, 9 Jun 2026 19:11:04 -0300 Subject: [PATCH] Show port count in model list table --- templates/model_list.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/model_list.html b/templates/model_list.html index f86afc8..1fd3b52 100644 --- a/templates/model_list.html +++ b/templates/model_list.html @@ -7,12 +7,13 @@ - + {{range .Models}} +
NameManufacturerRack?UPatchWall
NameManufacturerPortsRack?UPatchWall
{{.Name}} {{.Manufacturer}}{{len .Ports}} {{if .IsRackMountable}}yes{{else}}no{{end}} {{if .HeightUnits}}{{.HeightUnits}}{{else}}-{{end}} {{if .IsPatchPanel}}yes{{end}}