Skip to content

Commit

Permalink
Add back in translate on type column (#1198)
Browse files Browse the repository at this point in the history
* Add back in translate on type column

* Fix e2e
  • Loading branch information
nwmac authored and richard-cox committed Jul 27, 2017
1 parent 33f2cbb commit b5a6461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/endpoints-dashboard/src/view/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
ng-switch-when="complicated">warning</span>
</td>

<td>{{ endpoint.type }}</td>
<td translate>{{ endpoint.type }}</td>
<td>{{ endpoint.url }}</td>
<td>
<actions-menu actions="endpoint.actions"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
if (service) {
// 1) we show the correct type
if (serviceType === 'cf') {
expect(endpointsPage.endpointType(index)).toBe('cloud-foundry');
expect(endpointsPage.endpointType(index)).toBe('Cloud Foundry');
}
// 3) the address is correct
expect(endpointsPage.endpointUrl(index)).toBe(service.register.api_endpoint);
Expand Down

0 comments on commit b5a6461

Please sign in to comment.