<commit_before>{{!
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}}

<div class="accordion-heading" {{action "onToggleBlock" category target="view"}}>
  <i {{bindAttr class=":pull-left :accordion-toggle view.category.isCollapsed:icon-caret-right:icon-caret-down"}}></i>
  <a class="accordion-toggle">{{view.category.displayName}}</a>
</div>

<div class="accordion-body collapse in" {{bindAttr style="view.isCategoryBodyVisible"}}>
  <div class="accordion-inner service-config-section">
    <form class="form-horizontal" autocomplete="off">

      <div class="entry-row">
        {{view Ember.RadioButton name="createNotification" selectionBinding="view.createNotification" value="no"}} {{t installer.step7.misc.notification.configure.later}}
      </div>

      <div class="entry-row">
        {{view Ember.RadioButton name="createNotification" selectionBinding="view.createNotification" value="yes"}} {{t installer.step7.misc.notification.configure}}
      </div>

      {{#each view.categoryConfigs}}
        <div {{bindAttr class=":entry-row rowStyleClass isUserProperty:indent-1"}}>
          <span {{bindAttr class="errorMessage:error: :control-group :control-label-span"}}>
            <label class="control-label">
              {{formatWordBreak displayName}}
            </label>
          </span>

          <div {{bindAttr class="showLabel:controls"}}>
            <div {{bindAttr class="errorMessage:error: warnMessage:warning: :control-group"}}>
              {{view viewClass serviceConfigBinding="this" categoryConfigsAllBinding="view.categoryConfigsAll" }}

              {{#if isRemovable}}
                {{#isAuthorized "SERVICE.MODIFY_CONFIGS"}}
                  {{#unless this.isComparison}}
                    <a class="btn-small" href="#" data-toggle="tooltip"
                      {{action "removeProperty" this target="view"}}
                      {{translateAttr data-original-title="common.remove"}}>
                      <i class="icon-minus-sign"></i>
                    </a>
                  {{/unless}}
                {{/isAuthorized}}
              {{/if}}

              <span class="help-inline">{{errorMessage}}</span>
              <span class="help-inline">{{warnMessage}}</span>
            </div>
          </div>
        </div>
      {{/each}}

      <div class="entry-row indent-1">
        {{view Ember.RadioButton name="tlsOrSsl" disabledBinding="view.configsAreDisabled" selectionBinding="view.tlsOrSsl" value="tls"}} {{t installer.step7.misc.notification.use_tls}}
      </div>

      <div class="entry-row indent-1">
        {{view Ember.RadioButton name="tlsOrSsl" disabledBinding="view.configsAreDisabled" selectionBinding="view.tlsOrSsl" value="ssl"}} {{t installer.step7.misc.notification.use_ssl}}
      </div>

      {{#isAuthorized "SERVICE.MODIFY_CONFIGS"}}
        {{#if view.canEdit}}
          {{#unless view.configsAreDisabled}}
            <div class="entry-row indent-1">
             <a href="#" {{action "showAddPropertyWindow" this target="view" }} >{{t installer.step7.config.addProperty}}...</a>
            </div>
          {{/unless}}
        {{/if}}<commit_msg>AMBARI-18084. Install Wizard: Unable to delete custom properties from Misc -> Notifications section (alexantonenko)<commit_after>{{!
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}}

<div class="accordion-heading" {{action "onToggleBlock" category target="view"}}>
  <i {{bindAttr class=":pull-left :accordion-toggle view.category.isCollapsed:icon-caret-right:icon-caret-down"}}></i>
  <a class="accordion-toggle">{{view.category.displayName}}</a>
</div>

<div class="accordion-body collapse in" {{bindAttr style="view.isCategoryBodyVisible"}}>
  <div class="accordion-inner service-config-section">
    <form class="form-horizontal" autocomplete="off">

      <div class="entry-row">
        {{view Ember.RadioButton name="createNotification" selectionBinding="view.createNotification" value="no"}} {{t installer.step7.misc.notification.configure.later}}
      </div>

      <div class="entry-row">
        {{view Ember.RadioButton name="createNotification" selectionBinding="view.createNotification" value="yes"}} {{t installer.step7.misc.notification.configure}}
      </div>

      {{#each config in view.categoryConfigs}}
        <div {{bindAttr class=":entry-row config.rowStyleClass config.isUserProperty:indent-1"}}>
          <span {{bindAttr class="config.errorMessage:error: :control-group :control-label-span"}}>
            <label class="control-label">
              {{formatWordBreak config.displayName}}
            </label>
          </span>

          <div {{bindAttr class="config.showLabel:controls"}}>
            <div {{bindAttr class="config.errorMessage:error: config.warnMessage:warning: :control-group"}}>
              {{view config.viewClass serviceConfigBinding="config" categoryConfigsAllBinding="view.categoryConfigsAll" }}

              {{#if config.isRemovable}}
                {{#isAuthorized "SERVICE.MODIFY_CONFIGS"}}
                  {{#unless config.isComparison}}
                    <a class="btn-small" href="#" data-toggle="tooltip"
                      {{action "removeProperty" config target="view"}}
                      {{translateAttr data-original-title="common.remove"}}>
                      <i class="icon-minus-sign"></i>
                    </a>
                  {{/unless}}
                {{/isAuthorized}}
              {{/if}}

              <span class="help-inline">{{config.errorMessage}}</span>
              <span class="help-inline">{{config.warnMessage}}</span>
            </div>
          </div>
        </div>
      {{/each}}

      <div class="entry-row indent-1">
        {{view Ember.RadioButton name="tlsOrSsl" disabledBinding="view.configsAreDisabled" selectionBinding="view.tlsOrSsl" value="tls"}} {{t installer.step7.misc.notification.use_tls}}
      </div>

      <div class="entry-row indent-1">
        {{view Ember.RadioButton name="tlsOrSsl" disabledBinding="view.configsAreDisabled" selectionBinding="view.tlsOrSsl" value="ssl"}} {{t installer.step7.misc.notification.use_ssl}}
      </div>

      {{#isAuthorized "SERVICE.MODIFY_CONFIGS"}}
        {{#if view.canEdit}}
          {{#unless view.configsAreDisabled}}
            <div class="entry-row indent-1">
             <a href="#" {{action "showAddPropertyWindow" this target="view" }} >{{t installer.step7.config.addProperty}}...</a>
            </div>
          {{/unless}}
        {{/if}}
{'fraction_non_alphanumeric': 0.1414370202592173, 'fraction_numerical': 0.003900843085441047, 'mean_word_length': 3.07172131147541, 'pattern_counts': {'":': 4, '<': 81, '<?xml version=': 0, '>': 82, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5831387', 'n_tokens_mistral': 2243, 'n_tokens_neox': 2153, 'n_words': 539}