<commit_before><!--
    displays the status of executors.
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
	<l:pane title="${%Build Executor Status}" width="3" id="executors">
	  <j:forEach var="c" items="${app.computers}" varStatus="cloop">
	    <j:choose>
	      <j:when test="${c.node==app}">
	        <tr>
	          <th class="pane">No.</th>
	          <th class="pane">
              <j:choose>
                <j:when test="${empty(app.slaves)}">
                  ${%Status}
                </j:when>
                <j:otherwise>
                  <a href="${rootURL}/computer/(master)/">${%Master}</a>
                  <j:if test="${c.offline}">${%(offline)}</j:if>
                </j:otherwise>
              </j:choose>
            </th>
            <th class="pane"><st:nbsp/></th>
	        </tr>
	      </j:when>
	      <j:otherwise>
	        <tr>
	          <th class="pane" colspan="3">
	            <a href="${rootURL}/computer/${c.displayName}">${c.displayName}</a>
	            <j:if test="${c.offline}">${%(offline)} </j:if>
              </th>
	        </tr>
	      </j:otherwise>
	    </j:choose>

	    <j:forEach var="e" items="${c.executors}" varStatus="eloop">
	      <tr>
	        <td class="pane">
	          ${eloop.index+1}
	        </td>
	        <j:choose>
            <j:when test="${!e.alive}">
              <td class="pane" width="70%">
                <a href="${rootURL}/computers/${cloop.index}/executors/${eloop.index}/causeOfDeath">
                  <span class="error">${%Dead} (!)</span>
                </a>
              </td>
              <td class="pane"></td>
            </j:when>
            <j:when test="${e.idle}">
	            <td class="pane" width="70%">
	              ${%Idle}
	            </td>
	            <td class="pane"></td>
	          </j:when>
	          <j:otherwise>
	            <td class="pane" width="70%">
	              <div nowrap="true">${%Building} <a href="${rootURL}/${e.currentExecutable.url}">${e.currentExecutable}</a></div>
                <t:buildProgressBar build="${e.currentExecutable}"/>
	            </td>
	            <td class="pane" width="16" align="center" valign="middle">
                <l:isAdmin>
                  <a href="${rootURL}/computers/${cloop.index}/executors/${eloop.index}/stop"><img src="${imagesURL}/16x16/stop.gif" alt="${%terminate this build}" /></a>
                </l:isAdmin>
	            </td>
	          </j:otherwise>
	        </j:choose>
	      </tr>
	    </j:forEach>
	  </j:forEach>
    <!-- schedule updates only for the full page reload -->
    <j:if test="${ajax==null and !h.isAutoRefresh(request)}">
      <script defer="defer">
        refreshPart('executors',"./ajaxExecutors");
      </script>
    </j:if>
	</l:pane>
</j:jelly><commit_msg>%(offline) is interpreted as a formatting "" with parameter "offline", so won't work as expected.<commit_after><!--
    displays the status of executors.
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
	<l:pane title="${%Build Executor Status}" width="3" id="executors">
	  <j:forEach var="c" items="${app.computers}" varStatus="cloop">
	    <j:choose>
	      <j:when test="${c.node==app}">
	        <tr>
	          <th class="pane">No.</th>
	          <th class="pane">
              <j:choose>
                <j:when test="${empty(app.slaves)}">
                  ${%Status}
                </j:when>
                <j:otherwise>
                  <a href="${rootURL}/computer/(master)/">${%Master}</a>
                  <j:if test="${c.offline}">${%(offline)}</j:if>
                </j:otherwise>
              </j:choose>
            </th>
            <th class="pane"><st:nbsp/></th>
	        </tr>
	      </j:when>
	      <j:otherwise>
	        <tr>
	          <th class="pane" colspan="3">
	            <a href="${rootURL}/computer/${c.displayName}">${c.displayName}</a>
	            <j:if test="${c.offline}">(${%offline})</j:if>
              </th>
	        </tr>
	      </j:otherwise>
	    </j:choose>

	    <j:forEach var="e" items="${c.executors}" varStatus="eloop">
	      <tr>
	        <td class="pane">
	          ${eloop.index+1}
	        </td>
	        <j:choose>
            <j:when test="${!e.alive}">
              <td class="pane" width="70%">
                <a href="${rootURL}/computers/${cloop.index}/executors/${eloop.index}/causeOfDeath">
                  <span class="error">${%Dead} (!)</span>
                </a>
              </td>
              <td class="pane"></td>
            </j:when>
            <j:when test="${e.idle}">
	            <td class="pane" width="70%">
	              ${%Idle}
	            </td>
	            <td class="pane"></td>
	          </j:when>
	          <j:otherwise>
	            <td class="pane" width="70%">
	              <div nowrap="true">${%Building} <a href="${rootURL}/${e.currentExecutable.url}">${e.currentExecutable}</a></div>
                <t:buildProgressBar build="${e.currentExecutable}"/>
	            </td>
	            <td class="pane" width="16" align="center" valign="middle">
                <l:isAdmin>
                  <a href="${rootURL}/computers/${cloop.index}/executors/${eloop.index}/stop"><img src="${imagesURL}/16x16/stop.gif" alt="${%terminate this build}" /></a>
                </l:isAdmin>
	            </td>
	          </j:otherwise>
	        </j:choose>
	      </tr>
	    </j:forEach>
	  </j:forEach>
    <!-- schedule updates only for the full page reload -->
    <j:if test="${ajax==null and !h.isAutoRefresh(request)}">
      <script defer="defer">
        refreshPart('executors',"./ajaxExecutors");
      </script>
    </j:if>
	</l:pane>
</j:jelly>
{'fraction_non_alphanumeric': 0.2133424798490825, 'fraction_numerical': 0.0051449151089007035, 'mean_word_length': 1.8106024096385542, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 173, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, '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': '1556466', 'n_tokens_mistral': 2043, 'n_tokens_neox': 1872, 'n_words': 305}