Edge widget customerTitle refactored
This commit is contained in:
parent
61ef70c5af
commit
48fd55a6cb
@ -177,7 +177,7 @@ export class EdgesOverviewWidgetComponent extends PageComponent implements OnIni
|
||||
this.edgeService.getEdgeInfo(edgeId).subscribe(
|
||||
(edge) => {
|
||||
if (edge.customerTitle) {
|
||||
this.customerTitle = this.translateService.instant('edge.assigned-to-customer') + ': ' + edge.customerTitle;
|
||||
this.customerTitle = this.translateService.instant('edge.assigned-to-customer', {customerTitle: edge.customerTitle});
|
||||
} else {
|
||||
this.customerTitle = null;
|
||||
}
|
||||
|
||||
@ -1233,7 +1233,7 @@
|
||||
"assign-to-customer-text": "Please select the customer to assign the edge(s)",
|
||||
"assign-edge-to-customer": "Assign Edge(s) To Customer",
|
||||
"assign-edge-to-customer-text": "Please select the edges to assign to the customer",
|
||||
"assigned-to-customer": "Assigned to customer",
|
||||
"assigned-to-customer": "Assigned to: {{customerTitle}}",
|
||||
"unassign-from-customer": "Unassign from customer",
|
||||
"assign-edges-text": "Assign { count, plural, 1 {1 edge} other {# edges} } to customer",
|
||||
"unassign-edge-title": "Are you sure you want to unassign the edge '{{edgeName}}'?",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user