|
|
@@ -16,7 +16,7 @@
|
|
|
* limitations under the License.
|
|
|
}}
|
|
|
|
|
|
-{{#if App.supports.hostOverrides}}
|
|
|
+{{#if view.supportsHostOverrides}}
|
|
|
{{#if selectedService.restartRequired}}
|
|
|
<div class="alert">
|
|
|
<div class="clearfix like_pointer collapsable" {{action toggleRestartMessageView target="view"}}>
|
|
|
@@ -45,7 +45,7 @@
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
{{/if}}
|
|
|
-{{#if App.supports.hostOverrides}}
|
|
|
+{{#if view.supportsHostOverrides}}
|
|
|
<div class="alert alert-info">
|
|
|
{{t common.group}}
|
|
|
<span class="btn-group">
|
|
|
@@ -79,7 +79,7 @@
|
|
|
{{view category.customView categoryBinding="category" serviceBinding="selectedService" canEditBinding="view.canEdit" serviceConfigsBinding="selectedService.configs"}}
|
|
|
{{/if}}
|
|
|
{{else}}
|
|
|
- {{#view App.ServiceConfigsByCategoryView categoryBinding="category" canEditBinding="view.canEdit" serviceBinding="selectedService" serviceConfigsBinding="selectedService.configs"}}
|
|
|
+ {{#view App.ServiceConfigsByCategoryView categoryBinding="category" canEditBinding="view.canEdit" serviceBinding="selectedService" serviceConfigsBinding="selectedService.configs" supportsHostOverridesBinding="view.supportsHostOverrides"}}
|
|
|
|
|
|
<div class="accordion-heading" {{action "onToggleBlock" category target="view"}}>
|
|
|
<i {{bindAttr class=":pull-left :accordion-toggle category.isCollapsed:icon-caret-right:icon-caret-down"}}></i>
|
|
|
@@ -100,7 +100,7 @@
|
|
|
<a href="javascript:void(null);"><i class="icon-lock" rel="tooltip" data-toggle="tooltip" title="security knob"></i></a>
|
|
|
{{/if}}
|
|
|
{{/if}}
|
|
|
- {{#if App.supports.hostOverrides}}
|
|
|
+ {{#if view.supportsHostOverrides}}
|
|
|
{{#if isRestartRequired}}
|
|
|
<i class="icon-refresh restart-required-property" rel="tooltip" {{bindAttr title="restartRequiredMessage"}}></i>
|
|
|
{{/if}}
|
|
|
@@ -113,7 +113,7 @@
|
|
|
{{view viewClass serviceConfigBinding="this" categoryConfigsAllBinding="view.categoryConfigsAll" }}
|
|
|
{{#if view.canEdit}}
|
|
|
{{#if isPropertyOverridable}}
|
|
|
- {{#if App.supports.hostOverrides}}
|
|
|
+ {{#if view.supportsHostOverrides}}
|
|
|
<a class="action" {{action "createOverrideProperty" this target="view" }} ><i class="icon-plus-sign"></i>{{t common.override}}</a>
|
|
|
{{/if}}
|
|
|
{{/if}}
|