<commit_before>{% extends 'layout_full.html' %}

{% block layout_parent_link %}<a href="/builds">Builds</a>{% endblock %}

{% block layout_header_text %}Latest Builds for {{ plan.name }}: {{ repo.name }}{% endblock %}

{% block layout_header_details %}
  <ul class="slds-grid slds-page-header__detail-row">

    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Repository">Repository</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ repo.name }}">
        <a href="{{repo.get_absolute_url}}">{{ repo.name }}</a>
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Role">Role</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.role }}">
        {{ plan.role }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Trigger">Trigger</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.trigger }}">
        {{ plan.trigger }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Regex">Regex</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.regex }}">
        {{ plan.regex }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Org">Org</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.org }}">
        {{ plan.org }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Flows">Flows</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.flows }}">
        {{ plan.flows }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Active?">Active?</p>
      <p class="slds-text-body--regular slds-truncate slds-badge {% if plan.active %}slds-theme--success{% else %}slds-theme--error{% endif %}"
        title="{{ build.get_status }}" title="{{ plan.active }}">
        {{ plan.active }}
      </p>
    </li>
  </ul>
{% endblock %}

{% block layout_header_buttons %}
      <a href="{{ planrepo.get_absolute_url }}/run">
        <button class="slds-button slds-button--neutral slds-button--last">
          Run
        </button>
      </a><commit_msg>remove run button from plan_repo_detail also<commit_after>{% extends 'layout_full.html' %}

{% block layout_parent_link %}<a href="/builds">Builds</a>{% endblock %}

{% block layout_header_text %}Latest Builds for {{ plan.name }}: {{ repo.name }}{% endblock %}

{% block layout_header_details %}
  <ul class="slds-grid slds-page-header__detail-row">

    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Repository">Repository</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ repo.name }}">
        <a href="{{repo.get_absolute_url}}">{{ repo.name }}</a>
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Role">Role</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.role }}">
        {{ plan.role }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Trigger">Trigger</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.trigger }}">
        {{ plan.trigger }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Regex">Regex</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.regex }}">
        {{ plan.regex }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Org">Org</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.org }}">
        {{ plan.org }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Flows">Flows</p>
      <p class="slds-text-body--regular slds-truncate" title="{{ plan.flows }}">
        {{ plan.flows }}
      </p>
    </li>
    <li class="slds-page-header__detail-block">
      <p class="slds-text-title slds-truncate slds-m-bottom--xx-small" title="Active?">Active?</p>
      <p class="slds-text-body--regular slds-truncate slds-badge {% if plan.active %}slds-theme--success{% else %}slds-theme--error{% endif %}"
        title="{{ build.get_status }}" title="{{ plan.active }}">
        {{ plan.active }}
      </p>
    </li>
  </ul>
{% endblock %}

{% block layout_header_buttons %}
{% if user.is_authenticated %}
<a href="{{ planrepo.get_absolute_url }}/run">
  <button class="slds-button slds-button--neutral slds-button--last">
    Run
  </button>
</a>
{% endif %}
{'fraction_non_alphanumeric': 0.20405456612353165, 'fraction_numerical': 0.0, 'mean_word_length': 3.0421133231240427, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '4256906', 'n_tokens_mistral': 2043, 'n_tokens_neox': 1962, 'n_words': 313}