<commit_before>{{!
    Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
    Created By: <EMAIL>
    Maintained By: <EMAIL>
}}


  <li class="tree-item governance" data-object-id="{{instance.id}}" data-object-type="{{instance.class.table_singular}}">
    <div class="item-main" {{#instance}}{{data 'model'}}{{/instance}}>
      <a href="javascript://" class="openclose">
        <div class="row-fluid">
          <div class="span10">
            <div class="item-data">
              <div class="tree-title-area">
                <i class="grcicon-{{instance.class.table_singular}}-color"></i>
                {{#instance.title}}
                  {{instance.title}}
                {{/instance.title}}
                {{^instance.title}}
                  {{{firstnonempty instance.description_inline ''}}}
                {{/instance.title}}
                {{#infer_roles instance}}
                  <span class="role">
                    {{.}}
                  </span>
                {{/infer_roles}}
              </div>
            </div>
          </div>
          <div class="span1">
            <div class="counter">
              {{#instance}}
                {{#is_private}}
                <i class="grcicon-private"></i>
                {{/is_private}}
              {{/instance}}
            </div>
          </div>
          <div class="span1">
            <div class="counter">
              {{^instance.contact}}
                <i class="grcicon-people-warning"></i>
              {{/instance.contact}}
            </div>
          </div>
        </div>
      </a>
    </div>

    {{#if expanded}}
    <div class="tier-2-info item-content">
      <div class="tier-2-info-content">

        <div class="row-fluid">

          <div class="span6">
          {{#if instance.viewLink}}
            <a href="{{instance.viewLink}}" class="info-action">
              View {{instance.class.title_singular}}
              <i class="grcicon-goto"></i>
            </a>
          {{/if}}
          </div>

          <div class="span6">
          {{#if allow_mapping}}
          {{#if mappings}}
          {{#is_allowed_all 'delete' mappings}}
          {{^is_dashboard}}
            <a href="javascript://" class="info-action unmap pull-right" data-toggle="unmap">
              {{#result}}<span class="result" {{data 'result'}}></span>{{/result}}
              <i class="grcicon-remove"></i>
              Unmap
            </a>
          {{/is_dashboard}}
          {{/is_allowed_all}}
          {{/if}}
          {{/if}}
          </div>

        </div>

        {{#instance.description}}
        <div class="show-description">
          <div class="row-fluid">
            <div class="span12">
              <div class="tree-description short">
                {{{instance.description}}}
              </div>
              {{{show_long}}}
            </div>
          </div>
        </div>
        {{/instance.description}}

        {{{renderLive '/static/mustache/base_objects/mappings_detail.mustache' result=result parent_instance=parent_instance}}}

        {{^if_equals instance.class.table_singular 'person'}}
          {{{renderLive '/static/mustache/base_objects/contacts.mustache' instance=instance}}}
        {{/if_equals}}

        {{#instance.url}}
        <div class="row-fluid">
          <div class="span6">
            <div class="tree-info">
              <strong>URL:</strong>
              <a class="url" data-popover-trigger="sticky-hover" data-sticky-popover="true" data-content="{{renderLive '/static/mustache/pbc/iframe_tooltip.mustache' url=instance.url}}" href="{{schemed_url instance.url}}" target="_blank">
                {{instance.url}}
              </a>
            </div>
          </div>
        </div>
        {{/instance.url}}
      </div>

      {{#if draw_children}}
        {{#prune_context}} {{! this line is just chopping the context stack down to one element}}
            {{#child_options}}
              <div class="inner-tree">
                <h6>{{firstnonempty title_plural model.title_plural}} ({{list.length}})</h6>
                <ul class="tree-structure new-tree" {{data 'options'}} {{ (el) -> el.cms_controllers_tree_view(el.data("options")) }}></ul>
              </div>
            {{/child_options}}
        {{/prune_context}}
      {{/if}}

    </div>
    {{/if}}
  </li>

<commit_msg>Bugfix: Person info not showing in PBC Response<commit_after>{{!
    Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
    Created By: <EMAIL>
    Maintained By: <EMAIL>
}}


  <li class="tree-item governance" data-object-id="{{instance.id}}" data-object-type="{{instance.class.table_singular}}">
    <div class="item-main" {{#instance}}{{data 'model'}}{{/instance}}>
      <a href="javascript://" class="openclose">
        <div class="row-fluid">
          <div class="span10">
            <div class="item-data">
              <div class="tree-title-area">
                <i class="grcicon-{{instance.class.table_singular}}-color"></i>
                {{{firstnonempty instance.title instance.description_inline instance.name instance.email ''}}}
                {{#infer_roles instance}}
                  <span class="role">
                    {{.}}
                  </span>
                {{/infer_roles}}
              </div>
            </div>
          </div>
          <div class="span1">
            <div class="counter">
              {{#instance}}
                {{#is_private}}
                <i class="grcicon-private"></i>
                {{/is_private}}
              {{/instance}}
            </div>
          </div>
          <div class="span1">
            <div class="counter">
              {{^instance.contact}}
                <i class="grcicon-people-warning"></i>
              {{/instance.contact}}
            </div>
          </div>
        </div>
      </a>
    </div>

    {{#if expanded}}
    <div class="tier-2-info item-content">
      <div class="tier-2-info-content">

        <div class="row-fluid">

          <div class="span6">
          {{#if instance.viewLink}}
            <a href="{{instance.viewLink}}" class="info-action">
              View {{instance.class.title_singular}}
              <i class="grcicon-goto"></i>
            </a>
          {{/if}}
          </div>

          <div class="span6">
          {{#if allow_mapping}}
          {{#if mappings}}
          {{#is_allowed_all 'delete' mappings}}
          {{^is_dashboard}}
            <a href="javascript://" class="info-action unmap pull-right" data-toggle="unmap">
              {{#result}}<span class="result" {{data 'result'}}></span>{{/result}}
              <i class="grcicon-remove"></i>
              Unmap
            </a>
          {{/is_dashboard}}
          {{/is_allowed_all}}
          {{/if}}
          {{/if}}
          </div>

        </div>

        {{#instance.description}}
        <div class="show-description">
          <div class="row-fluid">
            <div class="span12">
              <div class="tree-description short">
                {{{instance.description}}}
              </div>
              {{{show_long}}}
            </div>
          </div>
        </div>
        {{/instance.description}}

        {{{renderLive '/static/mustache/base_objects/mappings_detail.mustache' result=result parent_instance=parent_instance}}}

        {{^if_equals instance.class.table_singular 'person'}}
          {{{renderLive '/static/mustache/base_objects/contacts.mustache' instance=instance}}}
        {{/if_equals}}

        {{#instance.url}}
        <div class="row-fluid">
          <div class="span6">
            <div class="tree-info">
              <strong>URL:</strong>
              <a class="url" data-popover-trigger="sticky-hover" data-sticky-popover="true" data-content="{{renderLive '/static/mustache/pbc/iframe_tooltip.mustache' url=instance.url}}" href="{{schemed_url instance.url}}" target="_blank">
                {{instance.url}}
              </a>
            </div>
          </div>
        </div>
        {{/instance.url}}
      </div>

      {{#if draw_children}}
        {{#prune_context}} {{! this line is just chopping the context stack down to one element}}
            {{#child_options}}
              <div class="inner-tree">
                <h6>{{firstnonempty title_plural model.title_plural}} ({{list.length}})</h6>
                <ul class="tree-structure new-tree" {{data 'options'}} {{ (el) -> el.cms_controllers_tree_view(el.data("options")) }}></ul>
              </div>
            {{/child_options}}
        {{/prune_context}}
      {{/if}}

    </div>
    {{/if}}
  </li>


{'fraction_non_alphanumeric': 0.17476497904632463, 'fraction_numerical': 0.004303998187790236, 'mean_word_length': 1.716923076923077, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 161, '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': '1883367', 'n_tokens_mistral': 2619, 'n_tokens_neox': 2507, 'n_words': 465}