<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>
}}

<section class="info">

  {{#is_allowed 'update' instance context='for'}}
    <div class="action-bar">
      <ul class="change-links">
        <li>
          <a href="javascript://" data-toggle="modal-ajax-form" data-object-plural="{{model.table_plural}}" data-object-singular="{{model.model_singular}}" data-modal-reset="reset" data-modal-class="modal-wide" title="Edit {{model.model_title}}" data-object-id="page">
            <i class="grcicon-edit"></i>
            Edit Workflow Info
          </a>
        </li>
        <li>
          <div class="dropdown">
            <a class="dropdown-toggle" href="#" data-toggle="dropdown" role="button">
              More<i class="grcicon-carot"></i>
            </a>
            <ul class="dropdown-menu pull-right" aria-labelledby="drop1" role="menu">
              <li>
                <workflow-clone workflow="instance">
                  <a href="javascript://">
                    Clone Workflow
                  </a>
                </workflow-clone>
              </li>
              {{!
              <li>
                <a href="javascript://" class="info-edit calendar-auth">
                  Authenticate Calendar Service
                </a>
              </li>
              }}
              {{#if instance.recurrences}}
              <li>
                <workflow-start-cycle workflow="instance">
                  <a href="#workflowStart" {{^instance.task_groups.length}}disabled="disabled"{{/task_groups}}>
                    Manually Start a Cycle
                  </a>
                </workflow-start-cycle>
              </li>
              <li>
                <workflow-deactivate workflow="instance">
                  <a href="#workflowStart" {{^instance.task_groups.length}}disabled="disabled"{{/task_groups}}>
                    Archive workflow
                  </a>
                </workflow-deactivate>
              </li>
              {{/if}}
            </ul>
          </div>
        </li>
      </ul>
    </div>
  {{/is_allowed}}


  <div class="row-fluid">
    <div class="span9">
      <h6>Title</h6>
      <h3>{{instance.title}}</h3>
    </div>
    <div class="span3">
      <h6>Status</h6>
      <p class="{{#if_equals instance.status 'Active'}}Active{{/if_equals}}{{#if_equals instance.status 'Inactive'}}Inactive{{/if_equals}}{{#if_equals instance.status 'Draft'}}Draft{{/if_equals}}">
        {{instance.status}}
      </p>
    </div>

  </div>

  <div class="row-fluid">
    <div class="span12">
      <h6>Description</h6>
      <div class="rtf-block">
        <p>{{{firstnonempty instance.description '<em>No description</em>'}}}</p>
      </div><commit_msg>moved menu from more...<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>
}}

<section class="info">

  {{#is_allowed 'update' instance context='for'}}
    <div class="action-bar">
      <ul class="change-links">
        <li>
          <a href="javascript://" data-toggle="modal-ajax-form" data-object-plural="{{model.table_plural}}" data-object-singular="{{model.model_singular}}" data-modal-reset="reset" data-modal-class="modal-wide" title="Edit {{model.model_title}}" data-object-id="page">
            <i class="grcicon-edit"></i>
            Edit Workflow Info
          </a>
        </li>
        <li>
          <workflow-clone workflow="instance">
            <a href="javascript://">
              Clone Workflow
            </a>
          </workflow-clone>
        </li>
        {{!
        <li>
          <a href="javascript://" class="info-edit calendar-auth">
            Authenticate Calendar Service
          </a>
        </li>
        }}
        {{#if instance.recurrences}}
        <li>
          <workflow-start-cycle workflow="instance">
            <a href="#workflowStart" {{^instance.task_groups.length}}disabled="disabled"{{/task_groups}}>
              Manually Start a Cycle
            </a>
          </workflow-start-cycle>
        </li>
        <li>
          <workflow-deactivate workflow="instance">
            <a href="#workflowStart" {{^instance.task_groups.length}}disabled="disabled"{{/task_groups}}>
              Archive workflow
            </a>
          </workflow-deactivate>
        </li>
        {{/if}}
      </ul>
    </div>
  {{/is_allowed}}


  <div class="row-fluid">
    <div class="span9">
      <h6>Title</h6>
      <h3>{{instance.title}}</h3>
    </div>
    <div class="span3">
      <h6>Status</h6>
      <p class="{{#if_equals instance.status 'Active'}}Active{{/if_equals}}{{#if_equals instance.status 'Inactive'}}Inactive{{/if_equals}}{{#if_equals instance.status 'Draft'}}Draft{{/if_equals}}">
        {{instance.status}}
      </p>
    </div>

  </div>

  <div class="row-fluid">
    <div class="span12">
      <h6>Description</h6>
      <div class="rtf-block">
        <p>{{{firstnonempty instance.description '<em>No description</em>'}}}</p>
      </div>
{'fraction_non_alphanumeric': 0.17391304347826086, 'fraction_numerical': 0.006994328922495274, 'mean_word_length': 1.9842075578116187, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 135, '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': '5323016', 'n_tokens_mistral': 1659, 'n_tokens_neox': 1589, 'n_words': 293}