<commit_before><#--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<#--Dispatcher Name: ${dispatcherName!uiLabelMap.CommonNA} -->

<#assign url='ServiceList'>
<#assign popupUrl='serviceEcaDetail'>

<#-- Selected Service is available -->
<#if selectedServiceMap??>

  <#if showWsdl?? && showWsdl == true>
    <@section title="${rawLabel('WebtoolsServiceWSDL')} - ${rawLabel('WebtoolsService')} ${rawString(selectedServiceMap.serviceName)}">
        <@code type="html">${selectedServiceMap.wsdl}</@code>
        <br />
        <a href="<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}</@ofbizUrl>" class="${styles.link_nav_cancel!}">${uiLabelMap.CommonBack}</a>
    </@section>

  <#else>
    <@section title="${rawLabel('WebtoolsService')} ${rawString(selectedServiceMap.serviceName)}">
        <@menu type="button">
          <@menuitem type="link" href=makeOfbizUrl("${url}") text=uiLabelMap.CommonListAll class="+${styles.action_run_sys!} ${styles.action_find!}" />
          <@menuitem type="link" href=makeOfbizUrl("scheduleJob?SERVICE_NAME=${selectedServiceMap.serviceName}") text=uiLabelMap.WebtoolsSchedule class="+${styles.action_nav!} ${styles.action_configure!}" />
          <@menuitem type="link" href=makeOfbizUrl("setSyncServiceParameters?SERVICE_NAME=${selectedServiceMap.serviceName}&POOL_NAME=pool&_RUN_SYNC_=Y") text=uiLabelMap.PageTitleRunService class="+${styles.action_nav!} ${styles.action_begin!}" />
        </@menu>

        <#if selectedServiceMap.deprecatedUseInstead?has_content>
          <@section title=rawLabel('WebtoolsWarningLogLevel')?upper_case+": "+rawLabel('WebtoolsDeprecated')>
            <@field type="display" label=uiLabelMap.WebtoolsDeprecatedUseInstead><#if rawString(selectedServiceMap.deprecatedUseInstead)?lower_case == "none">${uiLabelMap.CommonNone}<#else><#rt/>
                <a href="<@ofbizUrl>ServiceList?sel_service_name=${selectedServiceMap.deprecatedUseInstead}</@ofbizUrl>">${selectedServiceMap.deprecatedUseInstead}</a></#if></@field><#lt/>
            <@field type="display" label=uiLabelMap.CommonSince>${selectedServiceMap.deprecatedSince!}</@field>
            <@field type="display" label=uiLabelMap.CommonReason>${selectedServiceMap.deprecatedReason!}</@field>
          </@section>
        </#if>

    <#-- Show a little form for exportServiceEoModelBundle -->
    <@row>
        <@cell columns=6>
          <form name="exportServiceEoModelBundle" method="post" action="<@ofbizUrl>exportServiceEoModelBundle</@ofbizUrl>" class="basic-form">
            <input type="hidden" name="sel_service_name" value="${selectedServiceMap.serviceName}"/>
            <input type="hidden" name="serviceName" value="${selectedServiceMap.serviceName}"/>
            Save eomodeld to Local Path: <input type="text" name="eomodeldFullPath" value="${parameters.eomodeldFullPath!}" size="60"/>
            <input type="submit" name="submitButton" value="Export" class="${styles.link_run_sys!} ${styles.action_export!}"/>
          </form>
        </@cell>
      </@row>
    <@row>
        <@cell>
        <@table type="fields">
        <@thead>
          <@tr>
                <@th>${uiLabelMap.WebtoolsParameterName}</@th>
                <@th>${uiLabelMap.CommonDescription}</@th>
                <@th>${uiLabelMap.WebtoolsParameterName}</@th>
                <@th>${uiLabelMap.CommonDescription}</@th>
            </@tr>
        </@thead>
          <@tr>
            <@td>${uiLabelMap.WebtoolsServiceName}</@td>
            <@td>${selectedServiceMap.serviceName}</@td>
            <@td>${uiLabelMap.WebtoolsEngineName}</@td>
            <@td><a href="<@ofbizUrl>${url}?constraint=engine_name@${selectedServiceMap.engineName}</@ofbizUrl>">${selectedServiceMap.engineName}</a></@td>
          </@tr>
          <@tr>
            <@td>${uiLabelMap.CommonDescription}</@td>
            <@td>${selectedServiceMap.description}</@td>
            <@td>${uiLabelMap.WebtoolsInvoke}</@td>
            <@td>${selectedServiceMap.invoke}</@td>
          </@tr>
          <@tr>
            <@td>${uiLabelMap.WebtoolsExportable}</@td>
            <@td>${selectedServiceMap.export}<#if selectedServiceMap.exportBool == "true">&nbsp;(<a href="<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}&amp;show_wsdl=true</@ofbizUrl>" class="+${styles.link_nav!}" >${uiLabelMap.WebtoolsShowShowWSDL}</a>)</#if></@td>
            <@td>${uiLabelMap.WebtoolsLocation}</@td>
            <@td><a href="<@ofbizUrl>${url}?constraint=location@${selectedServiceMap.location}</@ofbizUrl>">${selectedServiceMap.location}</a></@td>
          </@tr>
          <@tr>
            <@td>${uiLabelMap.WebtoolsDefinitionLocation}</@td>
            <@td><a href="<@ofbizUrl>${url}?constraint=definitionLocation@${selectedServiceMap.definitionLocation}</@ofbizUrl>">${selectedServiceMap.definitionLocation}</a></@td><commit_msg>admin: availableservices.ftl: minor ftl/html fixes<commit_after><#--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<#--Dispatcher Name: ${dispatcherName!uiLabelMap.CommonNA} -->

<#assign url='ServiceList'>
<#assign popupUrl='serviceEcaDetail'>

<#-- Selected Service is available -->
<#if selectedServiceMap??>

  <#if showWsdl?? && showWsdl == true>
    <@section title=rawLabel('WebtoolsServiceWSDL')+" - "+rawLabel('WebtoolsService')+" "+rawString(selectedServiceMap.serviceName)>
        <@code type="html">${selectedServiceMap.wsdl}</@code>
        <br />
        <a href="<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}</@ofbizUrl>" class="${styles.link_nav_cancel!}">${uiLabelMap.CommonBack}</a>
    </@section>

  <#else>
    <@section title=rawLabel('WebtoolsService')+" "+rawString(selectedServiceMap.serviceName)>
        <@menu type="button">
          <@menuitem type="link" href=makeOfbizUrl(url) text=uiLabelMap.CommonListAll class="+${styles.action_run_sys!} ${styles.action_find!}" />
          <@menuitem type="link" href=makeOfbizUrl("scheduleJob?SERVICE_NAME=${rawString(selectedServiceMap.serviceName)}") text=uiLabelMap.WebtoolsSchedule class="+${styles.action_nav!} ${styles.action_configure!}" />
          <@menuitem type="link" href=makeOfbizUrl("setSyncServiceParameters?SERVICE_NAME=${rawString(selectedServiceMap.serviceName)}&POOL_NAME=pool&_RUN_SYNC_=Y") text=uiLabelMap.PageTitleRunService class="+${styles.action_nav!} ${styles.action_begin!}" />
        </@menu>

        <#if selectedServiceMap.deprecatedUseInstead?has_content>
          <@section title=rawLabel('WebtoolsWarningLogLevel')?upper_case+": "+rawLabel('WebtoolsDeprecated')>
            <@field type="display" label=uiLabelMap.WebtoolsDeprecatedUseInstead><#if rawString(selectedServiceMap.deprecatedUseInstead)?lower_case == "none">${uiLabelMap.CommonNone}<#else><#rt/>
                <a href="<@ofbizUrl>ServiceList?sel_service_name=${selectedServiceMap.deprecatedUseInstead}</@ofbizUrl>">${selectedServiceMap.deprecatedUseInstead}</a></#if></@field><#lt/>
            <@field type="display" label=uiLabelMap.CommonSince>${selectedServiceMap.deprecatedSince!}</@field>
            <@field type="display" label=uiLabelMap.CommonReason>${selectedServiceMap.deprecatedReason!}</@field>
          </@section>
        </#if>

    <#-- Show a little form for exportServiceEoModelBundle -->
    <@row>
        <@cell columns=6>
          <form name="exportServiceEoModelBundle" method="post" action="<@ofbizUrl>exportServiceEoModelBundle</@ofbizUrl>" class="basic-form">
            <input type="hidden" name="sel_service_name" value="${selectedServiceMap.serviceName}"/>
            <input type="hidden" name="serviceName" value="${selectedServiceMap.serviceName}"/>
            Save eomodeld to Local Path: <input type="text" name="eomodeldFullPath" value="${parameters.eomodeldFullPath!}" size="60"/>
            <input type="submit" name="submitButton" value="Export" class="${styles.link_run_sys!} ${styles.action_export!}"/>
          </form>
        </@cell>
      </@row>
    <@row>
        <@cell>
        <@table type="fields">
        <@thead>
          <@tr>
                <@th>${uiLabelMap.WebtoolsParameterName}</@th>
                <@th>${uiLabelMap.CommonDescription}</@th>
                <@th>${uiLabelMap.WebtoolsParameterName}</@th>
                <@th>${uiLabelMap.CommonDescription}</@th>
            </@tr>
        </@thead>
          <@tr>
            <@td>${uiLabelMap.WebtoolsServiceName}</@td>
            <@td>${selectedServiceMap.serviceName}</@td>
            <@td>${uiLabelMap.WebtoolsEngineName}</@td>
            <@td><a href="<@ofbizUrl>${url}?constraint=engine_name@${selectedServiceMap.engineName}</@ofbizUrl>">${selectedServiceMap.engineName}</a></@td>
          </@tr>
          <@tr>
            <@td>${uiLabelMap.CommonDescription}</@td>
            <@td>${selectedServiceMap.description}</@td>
            <@td>${uiLabelMap.WebtoolsInvoke}</@td>
            <@td>${selectedServiceMap.invoke}</@td>
          </@tr>
          <@tr>
            <@td>${uiLabelMap.WebtoolsExportable}</@td>
            <@td>${selectedServiceMap.export}<#if selectedServiceMap.exportBool == "true">&nbsp;(<a href="<@ofbizUrl>${url}?sel_service_name=${selectedServiceMap.serviceName}&amp;show_wsdl=true</@ofbizUrl>" class="+${styles.link_nav_inline!}" >WSDL</a>)</#if></@td>
            <@td>${uiLabelMap.WebtoolsLocation}</@td>
            <@td><a href="<@ofbizUrl>${url}?constraint=location@${selectedServiceMap.location}</@ofbizUrl>">${selectedServiceMap.location}</a></@td>
          </@tr>
          <@tr>
            <@td>${uiLabelMap.WebtoolsDefinitionLocation}</@td>
            <@td><a href="<@ofbizUrl>${url}?constraint=definitionLocation@${selectedServiceMap.definitionLocation}</@ofbizUrl>">${selectedServiceMap.definitionLocation}</a></@td>
{'fraction_non_alphanumeric': 0.1834069907593411, 'fraction_numerical': 0.0006026516673362796, 'mean_word_length': 4.121913580246914, 'pattern_counts': {'":': 2, '<': 249, '<?xml version=': 0, '>': 249, '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': '2496187', 'n_tokens_mistral': 3152, 'n_tokens_neox': 3060, 'n_words': 363}