rsanchez
2017-03-15 a6b5178c7295be4525ee0f607e42f72a12a2e3d6
securis/src/main/webapp/src/app/resources/packs.ts
....@@ -82,7 +82,11 @@
8282 }
8383
8484 getStatusName(statusCode: string): string {
85
- return this.$L.get(`pack.status.${statusCode}`, this.$L.get('Unknown'));
85
+ return this.$L.get(`pack.status.${statusCode}`, this.$L.get('Unknown'));
86
+ }
87
+
88
+ getStatusColor(statusCode: string): string {
89
+ return COLORS_BY_STATUS[statusCode] || '#cccccc';
8690 }
8791
8892 }