<commit_before>
<g:set var="ukey" value="${g.rkey()}"/>
        <div class="jobslist ${small?'small':''}">
                <g:if test="${jobslist.size()>0}">
                <table cellpadding="0" cellspacing="0" class="jobsList list" >
                    <g:if test="${null==headers || headers}">
                <tr>
                    <g:if test="${sortEnabled}">

                        <g:sortableColumn property="jobName" defaultOrder="desc" title="Name" colspan="2"  params="${paginateParams}"/>
                        <g:sortableColumn property="nextExecution" defaultOrder="desc" title="Execution" colspan="1" params="${paginateParams}"/>
                    </g:if>
                    <g:else>

                        <th colspan="2">Name</th>
                        <th colspan="1">Execution</th>
                    </g:else>
                </tr>
                        </g:if>
                    <% def j=0 %>
                    <g:each in="${jobslist}" var="scheduledExecution">
                        <g:timerStart key="jobslistHead"/>
                        <g:set var="execCount" value="${scheduledExecution.id?Execution.countByScheduledExecution(scheduledExecution):0}"/>
                        <g:set var="nextExecution"
                               value="${ (nextExecutions)? nextExecutions[scheduledExecution.id] : null}"/>
                        <g:set var="currentTime" value="${new Date()}"/>
                        <g:if test="${jobsjscallback}">
                            <tr class=" expandComponentHolder expanded" id="jobrow_${scheduledExecution.id}">
                               <td class="jobname">
                                   <div style="overflow:hidden; text-overflow: ellipsis; height:16px;">
                                       <span class="action textbtn" title="Choose this job" onclick="${jobsjscallback}('${scheduledExecution.jobName}','${scheduledExecution.groupPath}');">${scheduledExecution.jobName.encodeAsHTML()}</span>

                                       <span class="jobdesc" title="${scheduledExecution.description.encodeAsHTML()}">${scheduledExecution.description.encodeAsHTML()}</span>
                                   </div>
                               </td>
                            </tr>
                        </g:if>
                        <g:else>
                        <tr class="sectionhead expandComponentHolder ${paginateParams?.idlist==scheduledExecution.id.toString()?'expanded':''}" id="jobrow_${scheduledExecution.id}">





                            <td class="jobname">
                                <div style="overflow:hidden; text-overflow: ellipsis; height:16px;">
                                <g:expander key="${ukey+'jobDisplay'+scheduledExecution.id}" open="${paginateParams?.idlist==scheduledExecution.id.toString()?'true':'false'}" imgfirst="true">${scheduledExecution.jobName.encodeAsHTML()}</g:expander>

                                <g:if test="${!session.project}">
                                <span class="project">
                                    &bull; <span class="action textbtn" onclick="selectProject('${scheduledExecution.project.encodeAsJavaScript()}');" title="Select this project">${scheduledExecution.project}</span> 
                                </span>
                                </g:if>
                                <span class="jobdesc" title="${scheduledExecution.description.encodeAsHTML()}">${scheduledExecution.description.encodeAsHTML()}</span>
                                <span class="info note ${!execCount?'none':''}" style="margin-left:10px;">
                                    <g:link controller="reports" action="index" params="${[jobIdFilter:scheduledExecution.id]}" title="View all Executions of this job">Executions (${execCount})</g:link>
                                </span>
                                </div>
                            </td>

                        <td class="jobrunning " >
                            <g:if test="${nowrunning && nowrunning[scheduledExecution.id.toString()]}">
                                <g:link class="timenow"
                                    controller="execution"
                                    action="show"
                                    id="${nowrunning[scheduledExecution.id.toString()]}">
                                        <img src="${resource(dir:'images',file:'icon-tiny-disclosure-waiting.gif')}" alt=""/>
                                        now
                                </g:link>
                            </g:if>
                            <g:elseif test="${nextExecution}">
                                    <img src="${resource(dir:'images',file:'icon-clock-small.png')}" alt=""  width="16px" height="16px"/>
                                    <span title="<g:relativeDate atDate='${nextExecution}'/>">
                                    <g:relativeDate elapsed="${nextExecution}" untilClass="timeuntil"/>
                                    </span>
                            </g:elseif>
                            <g:elseif test="${scheduledExecution.scheduled && !nextExecution}">
                                    <img src="${resource(dir:'images',file:'icon-clock-small.png')}" alt=""  width="16px" height="16px"/>
                                    <span class="warn note" title="Job schedule will never fire">Never</span>
                            </g:elseif>
                            <g:else>&nbsp;
                            </g:else>
                        </td>
                        <td style="width: 80px; vertical-align: top; white-space:nowrap; text-align:right" class="jobbuttons right">
                            <g:render template="/scheduledExecution/actionButtons" model="${[scheduledExecution:scheduledExecution,authMap:authMap,jobauthorizations:jobauthorizations,small:true]}"/>
                        </td>

                        </tr>
                            <g:timerEnd key="jobslistHead"/>
                            <g:timerStart key="jobslistBody"/>
                            <g:timerStart key="detail"/>
                        <tr id="${ukey}jobDisplay${scheduledExecution.id}" style="${wdgt.styleVisible('if':paginateParams?.idlist==scheduledExecution.id.toString())}" class=" subsection">
                            <td colspan="3" class="extended jobDetail ">

                                <!--Display job details-->
                                <div class="left">
                                <div class="right">
                                <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td>
                                <g:render template="/scheduledExecution/showDetail" model="[scheduledExecution:scheduledExecution]"/>


                                        </td>
                                        <td style="width: 80px; vertical-align: top; white-space:nowrap;height:100%; text-align:right" class="jobbuttons ">
                                            <div class="right">
                                            <g:timerEnd key="detail"/>

                                            <g:set var="lastrun" value="${scheduledExecution.id?Execution.findByScheduledExecutionAndDateCompletedIsNotNull(scheduledExecution,[max: 1, sort:'dateStarted', order:'desc']):null}"/>
                                            <g:set var="successcount" value="${scheduledExecution.id?Execution.countByScheduledExecutionAndStatus(scheduledExecution,'true'):0}"/>
                                            <g:set var="successrate" value="${execCount>0? (successcount/execCount) : 0}"/>
                                            <g:render template="/scheduledExecution/showStats" model="[scheduledExecution:scheduledExecution,lastrun:lastrun?lastrun:null, successrate:successrate]"/>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                                </div>
                                </div>
                                <g:timerEnd key="jobslistBody"/>
                            </td>
                        </tr>
                        </g:else>
                        <% j++ %><commit_msg>Update job list view to remove disclosure area, and use job show link<commit_after>
<g:set var="ukey" value="${g.rkey()}"/>
        <div class="jobslist ${small?'small':''}">
                <g:if test="${jobslist.size()>0}">
                <table cellpadding="0" cellspacing="0" class="jobsList list" >
                    <g:if test="${null==headers || headers}">
                <tr>
                    <g:if test="${sortEnabled}">

                        <g:sortableColumn property="jobName" defaultOrder="desc" title="Name" colspan="2"  params="${paginateParams}"/>
                        <g:sortableColumn property="nextExecution" defaultOrder="desc" title="Execution" colspan="1" params="${paginateParams}"/>
                    </g:if>
                    <g:else>

                        <th colspan="2">Name</th>
                        <th colspan="1">Execution</th>
                    </g:else>
                </tr>
                        </g:if>
                    <% def j=0 %>
                    <g:each in="${jobslist}" var="scheduledExecution">
                        <g:set var="execCount" value="${scheduledExecution.id?Execution.countByScheduledExecution(scheduledExecution):0}"/>
                        <g:set var="nextExecution"
                               value="${ (nextExecutions)? nextExecutions[scheduledExecution.id] : null}"/>
                        <g:set var="currentTime" value="${new Date()}"/>
                        <g:if test="${jobsjscallback}">
                            <tr class=" expandComponentHolder expanded" id="jobrow_${scheduledExecution.id}">
                               <td class="jobname">
                                   <div style="overflow:hidden; text-overflow: ellipsis; height:16px;">
                                       <span class="action textbtn" title="Choose this job" onclick="${jobsjscallback}('${scheduledExecution.jobName}','${scheduledExecution.groupPath}');">${scheduledExecution.jobName.encodeAsHTML()}</span>

                                       <span class="jobdesc" title="${scheduledExecution.description.encodeAsHTML()}">${scheduledExecution.description.encodeAsHTML()}</span>
                                   </div>
                               </td>
                            </tr>
                        </g:if>
                        <g:else>
                        <tr class="sectionhead expandComponentHolder ${paginateParams?.idlist==scheduledExecution.id.toString()?'expanded':''}" id="jobrow_${scheduledExecution.id}">
                            <td class="jobname">
                                <div style="overflow:hidden; text-overflow: ellipsis; height:16px;">
                                %{--<g:expander key="${ukey+'jobDisplay'+scheduledExecution.id}" open="${paginateParams?.idlist==scheduledExecution.id.toString()?'true':'false'}" imgfirst="true">${scheduledExecution.jobName.encodeAsHTML()}</g:expander>--}%
                                <g:link action="show" controller="scheduledExecution" id="${scheduledExecution.id}" class="jobIdLink">
                                    ${scheduledExecution.jobName.encodeAsHTML()}</g:link>

                                <g:if test="${!session.project}">
                                <span class="project">
                                    &bull; <span class="action textbtn" onclick="selectProject('${scheduledExecution.project.encodeAsJavaScript()}');" title="Select this project">${scheduledExecution.project}</span> 
                                </span>
                                </g:if>
                                <span class="jobdesc" title="${scheduledExecution.description.encodeAsHTML()}">${scheduledExecution.description.encodeAsHTML()}</span>
                                <span class="info note ${!execCount?'none':''}" style="margin-left:10px;">
                                    <g:link controller="reports" action="index" params="${[jobIdFilter:scheduledExecution.id]}" title="View all Executions of this job">Executions (${execCount})</g:link>
                                </span>
                                </div>
                            </td>

                        <td class="jobrunning " >
                            <g:if test="${nowrunning && nowrunning[scheduledExecution.id.toString()]}">
                                <g:link class="timenow"
                                    controller="execution"
                                    action="show"
                                    id="${nowrunning[scheduledExecution.id.toString()]}">
                                        <img src="${resource(dir:'images',file:'icon-tiny-disclosure-waiting.gif')}" alt=""/>
                                        now
                                </g:link>
                            </g:if>
                            <g:elseif test="${nextExecution}">
                                    <img src="${resource(dir:'images',file:'icon-clock-small.png')}" alt=""  width="16px" height="16px"/>
                                    <span title="<g:relativeDate atDate='${nextExecution}'/>">
                                    <g:relativeDate elapsed="${nextExecution}" untilClass="timeuntil"/>
                                    </span>
                            </g:elseif>
                            <g:elseif test="${scheduledExecution.scheduled && !nextExecution}">
                                    <img src="${resource(dir:'images',file:'icon-clock-small.png')}" alt=""  width="16px" height="16px"/>
                                    <span class="warn note" title="Job schedule will never fire">Never</span>
                            </g:elseif>
                            <g:else>&nbsp;
                            </g:else>
                        </td>
                        <td style="width: 80px; vertical-align: top; white-space:nowrap; text-align:right" class="jobbuttons right">
                            <g:render template="/scheduledExecution/actionButtons" model="${[scheduledExecution:scheduledExecution,authMap:authMap,jobauthorizations:jobauthorizations,small:true]}"/>
                        </td>

                        </tr>
                        </g:else>
                        <% j++ %>
{'fraction_non_alphanumeric': 0.13931972789115646, 'fraction_numerical': 0.004421768707482994, 'mean_word_length': 1.3780329990294402, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 202, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 64, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '969862', 'n_tokens_mistral': 3518, 'n_tokens_neox': 3311, 'n_words': 506}