[ONOS-8096] In GUI2 device panel space before colon creates unnecessary wrap
Change-Id: I08ca8b70dc6c21d12714f510c9fa3473ad41c261
(cherry picked from commit 8a8bc4b1e516ad3e6b87447999aede9fe00d7010)
diff --git a/web/gui2-topo-lib/lib/panel/details/details.component.html b/web/gui2-topo-lib/lib/panel/details/details.component.html
index 5421776..297ea11 100644
--- a/web/gui2-topo-lib/lib/panel/details/details.component.html
+++ b/web/gui2-topo-lib/lib/panel/details/details.component.html
@@ -35,7 +35,7 @@
create a cell for the name and another for the value -->
<tr *ngFor="let p of showDetails?.propOrder">
<td *ngIf="showDetails?.propLabels[p] !== '-'"
- class="label">{{showDetails?.propLabels[p]}} :</td>
+ class="label">{{showDetails?.propLabels[p]}}</td>
<td *ngIf="showDetails?.propLabels[p] !== '-'"
class="value">{{ showDetails?.propValues[p]}}</td>
<!-- If the label is '-' then insert a horiz line -->
diff --git a/web/gui2-topo-lib/lib/panel/topopanel.base.ts b/web/gui2-topo-lib/lib/panel/topopanel.base.ts
index 40864ca..37b7a41 100644
--- a/web/gui2-topo-lib/lib/panel/topopanel.base.ts
+++ b/web/gui2-topo-lib/lib/panel/topopanel.base.ts
@@ -78,7 +78,7 @@
tr.append('td').attr('class', cls).text(txt);
}
- addCell('label', lab + ' :');
+ addCell('label', lab);
addCell('value', value);
}