<commit_before><div class="row-fluid">
  <div class="wiki-fixed" ng-controller="Wiki.CamelController">

    <ng-include src="'app/wiki/html/camelNavBar.html'"></ng-include>

    <div class="row-fluid">
      <div class="span12" ng-include="'app/wiki/html/camelSubLevelTabs.html'"></div>
    </div>

    <div class="row-fluid">
      <div id="tree-container" class="span3" ng-controller="Camel.TreeController">
        <div hawtio-tree="camelContextTree" onselect="onNodeSelect" onDragEnter="onNodeDragEnter" onDrop="onNodeDrop"
             onRoot="onRootTreeNode"
             hideRoot="true"></div>
      </div>

      <div class="span9">
        <div ng-include="propertiesTemplate"></div>
      </div>
    </div>

    <div hawtio-confirm-dialog="switchToCanvasView.show" ok-button-text="Yes" cancel-button-text="No" on-ok="doSwitchToCanvasView()" title="You have unsaved changes">
      <div class="dialog-body">
        <p>Do you really want to switch views?</p>
      </div>
    </div>

  </div>
</div><commit_msg>[ENTESB-2372] More precise warning dialog when switching camel editor views<commit_after><div class="row-fluid">
  <div class="wiki-fixed" ng-controller="Wiki.CamelController">

    <ng-include src="'app/wiki/html/camelNavBar.html'"></ng-include>

    <div class="row-fluid">
      <div class="span12" ng-include="'app/wiki/html/camelSubLevelTabs.html'"></div>
    </div>

    <div class="row-fluid">
      <div id="tree-container" class="span3" ng-controller="Camel.TreeController">
        <div hawtio-tree="camelContextTree" onselect="onNodeSelect" onDragEnter="onNodeDragEnter" onDrop="onNodeDrop"
             onRoot="onRootTreeNode"
             hideRoot="true"></div>
      </div>

      <div class="span9">
        <div ng-include="propertiesTemplate"></div>
      </div>
    </div>

    <div hawtio-confirm-dialog="switchToCanvasView.show" ok-button-text="Yes" cancel-button-text="No" on-ok="doSwitchToCanvasView()" title="You have unsaved changes">
      <div class="dialog-body">
        <p>Unsaved changes will be discarded. Do you really want to switch views?</p>
      </div>
    </div>

  </div>
</div>
{'fraction_non_alphanumeric': 0.171268132896584, 'fraction_numerical': 0.005615348619560131, 'mean_word_length': 3.5200845665961946, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4891346', 'n_tokens_mistral': 723, 'n_tokens_neox': 689, 'n_words': 123}