Commit 785ac9835551a0f29bcd13b86994b2e929f220df

Authored by deaflynx
1 parent 5b340c33

Added Make edge public, locale for edge types

... ... @@ -21,6 +21,9 @@
21 21 <md-button ng-click="onUnassignFromCustomer({event: $event, isPublic: isPublic})"
22 22 ng-show="!isEdit && (edgeScope === 'customer' || edgeScope === 'tenant') && isAssignedToCustomer"
23 23 class="md-raised md-primary">{{ isPublic ? 'edge.make-private' : 'edge.unassign-from-customer' | translate }}</md-button>
  24 +<md-button ng-click="onMakePublic({event: $event})"
  25 + ng-show="!isEdit && edgeScope === 'tenant' && !isAssignedToCustomer && !isPublic"
  26 + class="md-raised md-primary">{{ 'edge.make-public' | translate }}</md-button>
24 27 <md-button ng-click="onManageEdgeAssets({event: $event})"
25 28 ng-show="!isEdit && edgeScope === 'tenant'"
26 29 class="md-raised md-primary">{{ 'edge.manage-edge-assets' | translate }}</md-button>
... ...
... ... @@ -849,7 +849,10 @@
849 849 "deployed": "Deployed",
850 850 "pending": "Pending",
851 851 "unassign-edges-action-title": "Unassign { count, plural, 1 {1 edge} other {# edges} } from customer",
852   - "enter-edge-type": "Enter edge type"
  852 + "enter-edge-type": "Enter edge type",
  853 + "no-edge-types-matching": "No edge types matching '{{entitySubtype}}' were found.",
  854 + "edge-type-list-empty": "No edge types selected.",
  855 + "edge-types": "Edge types"
853 856 },
854 857 "error": {
855 858 "unable-to-connect": "Unable to connect to the server! Please check your internet connection.",
... ...