@@ -1143,10 +1143,11 @@ function generateCfApplicationEntity(endpointDefinition: StratosEndpointExtensio
1143
1143
label : 'Application' ,
1144
1144
labelPlural : 'Applications' ,
1145
1145
endpoint : endpointDefinition ,
1146
+ icon : 'apps' ,
1146
1147
tableConfig : {
1147
1148
rowBuilders : [
1148
1149
[ 'Name' , ( entity ) => entity . entity . name ] ,
1149
- [ 'Creation Date ' , ( entity ) => entity . metadata . created_at ]
1150
+ [ 'Created ' , ( entity ) => entity . metadata . created_at ]
1150
1151
]
1151
1152
}
1152
1153
} ;
@@ -1172,7 +1173,7 @@ function generateCfApplicationEntity(endpointDefinition: StratosEndpointExtensio
1172
1173
getLink : metadata => `/applications/${ metadata . cfGuid } /${ metadata . guid } /summary` ,
1173
1174
getGuid : metadata => metadata . guid ,
1174
1175
getLines : ( ) => ( [
1175
- [ 'Creation Date ' , ( meta ) => meta . createdAt ]
1176
+ [ 'Created ' , ( meta ) => meta . createdAt ]
1176
1177
] )
1177
1178
} ,
1178
1179
actionBuilders : applicationActionBuilder
@@ -1191,6 +1192,8 @@ function generateCfSpaceEntity(endpointDefinition: StratosEndpointExtensionDefin
1191
1192
label : 'Space' ,
1192
1193
labelPlural : 'Spaces' ,
1193
1194
endpoint : endpointDefinition ,
1195
+ icon : 'virtual_space' ,
1196
+ iconFont : 'stratos-icons'
1194
1197
} ;
1195
1198
cfEntityCatalog . space = new StratosCatalogEntity < ISpaceFavMetadata , APIResource < ISpace > , SpaceActionBuilders > (
1196
1199
spaceDefinition ,
@@ -1210,7 +1213,7 @@ function generateCfSpaceEntity(endpointDefinition: StratosEndpointExtensionDefin
1210
1213
createdAt : moment ( space . metadata . created_at ) . format ( 'LLL' ) ,
1211
1214
} ) ,
1212
1215
getLines : ( ) => ( [
1213
- [ 'Creation Date ' , ( meta ) => meta . createdAt ]
1216
+ [ 'Created ' , ( meta ) => meta . createdAt ]
1214
1217
] ) ,
1215
1218
getLink : metadata => `/cloud-foundry/${ metadata . cfGuid } /organizations/${ metadata . orgGuid } /spaces/${ metadata . guid } /summary` ,
1216
1219
getGuid : metadata => metadata . guid
@@ -1227,6 +1230,8 @@ function generateCfOrgEntity(endpointDefinition: StratosEndpointExtensionDefinit
1227
1230
label : 'Organization' ,
1228
1231
labelPlural : 'Organizations' ,
1229
1232
endpoint : endpointDefinition ,
1233
+ icon : 'organization' ,
1234
+ iconFont : 'stratos-icons'
1230
1235
} ;
1231
1236
cfEntityCatalog . org = new StratosCatalogEntity <
1232
1237
IOrgFavMetadata ,
@@ -1252,7 +1257,7 @@ function generateCfOrgEntity(endpointDefinition: StratosEndpointExtensionDefinit
1252
1257
} ) ,
1253
1258
getLink : metadata => `/cloud-foundry/${ metadata . cfGuid } /organizations/${ metadata . guid } ` ,
1254
1259
getLines : ( ) => ( [
1255
- [ 'Creation Date ' , ( meta ) => meta . createdAt ]
1260
+ [ 'Created ' , ( meta ) => meta . createdAt ]
1256
1261
] ) ,
1257
1262
getGuid : metadata => metadata . guid
1258
1263
}
0 commit comments