<commit_before><%@ include file="include.jsp"%>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%--
  Copyright 2012 SURFnet bv, The Netherlands

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  --%>
<spring:message var="title" code="jsp.home.title" />
<jsp:include page="head.jsp">
  <jsp:param name="title" value="${title}" />
  <jsp:param name="wrapperAdditionalCssClass" value="has-left app-grid-wrapper" />
</jsp:include>
<div class="column-center content-holder app-grid-holder">
  <h1 class="hidden-phone"><spring:message code="jsp.home.title" /></h1>
  <section>
    <ul class="app-grid ${filterAppGridAllowed == true ? 'filters-available' : ''} ${lmngActiveModus == true ? 'lmng-active' : ''}" 
              data-search-placeholder="Search in applications">
      <c:forEach items="${compoundSps}" var="compoundSp">
        <c:if test="${not empty compoundSp.id}">
          <li class="${compoundSp.sp.linked ? "connected" : "not-connected"} ${compoundSp.articleLicenseAvailable ? "licensed" : "not-licensed"}" data-id="${compoundSp.id}">
            <spring:url value="app-detail.shtml" var="detailUrl" htmlEscape="true">
              <spring:param name="compoundSpId" value="${compoundSp.id}" />
            </spring:url>
            <h2>
              <a href="${detailUrl}"><tags:providername provider="${compoundSp.sp}" /></a><!--TODO: providername for compoundSp instead of SP -->
            </h2> 
            <c:if test="${not empty compoundSp.appStoreLogo}">
              <img src="<c:url value="${compoundSp.appStoreLogo}"/>"/>
            </c:if>
            <p class="desc">
              <c:set var="serviceDescription"><tags:locale-specific nlVariant="${compoundSp.serviceDescriptionNl}" enVariant="${compoundSp.serviceDescriptionEn}" /></c:set>
              <c:out value="${fn:substring(serviceDescription, 0, 40)}" />
            </p>
            <c:if test="${not compoundSp.sp.linked}">
              <p class="connect-app">
                <a href="<c:url value="/requests/linkrequest.shtml">
                        <c:param name="spEntityId" value="${compoundSp.sp.id}" />
                        <c:param name="compoundSpId" value="${compoundSp.id}" />
                      </c:url>">
                  <spring:message code="jsp.sp_detail.requestlink_short"/><commit_msg>Fixed bug in translations<commit_after><%@ include file="include.jsp"%>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%--
  Copyright 2012 SURFnet bv, The Netherlands

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  --%>
<spring:message var="title" code="jsp.home.title" />
<jsp:include page="head.jsp">
  <jsp:param name="title" value="${title}" />
  <jsp:param name="wrapperAdditionalCssClass" value="has-left app-grid-wrapper" />
</jsp:include>
<div class="column-center content-holder app-grid-holder">
  <h1 class="hidden-phone"><spring:message code="jsp.home.title" /></h1>
  <section>
    <ul class="app-grid ${filterAppGridAllowed == true ? 'filters-available' : ''} ${lmngActiveModus == true ? 'lmng-active' : ''}" 
              data-search-placeholder="Search in applications">
      <c:forEach items="${compoundSps}" var="compoundSp">
        <c:if test="${not empty compoundSp.id}">
          <li class="${compoundSp.sp.linked ? "connected" : "not-connected"} ${compoundSp.articleLicenseAvailable ? "licensed" : "not-licensed"}" data-id="${compoundSp.id}">
            <spring:url value="app-detail.shtml" var="detailUrl" htmlEscape="true">
              <spring:param name="compoundSpId" value="${compoundSp.id}" />
            </spring:url>
            <h2>
              <a href="${detailUrl}"><tags:providername provider="${compoundSp.sp}" /></a><!--TODO: providername for compoundSp instead of SP -->
            </h2> 
            <c:if test="${not empty compoundSp.appStoreLogo}">
              <img src="<c:url value="${compoundSp.appStoreLogo}"/>"/>
            </c:if>
            <p class="desc">
              <c:set var="serviceDescription"><tags:locale-specific nlVariant="${compoundSp.serviceDescriptionNl}" enVariant="${compoundSp.serviceDescriptionEn}" /></c:set>
              <c:out value="${fn:substring(serviceDescription, 0, 40)}" />
            </p>
            <c:if test="${not compoundSp.sp.linked}">
              <p class="connect-app">
                <a href="<c:url value="/requests/linkrequest.shtml">
                        <c:param name="spEntityId" value="${compoundSp.sp.id}" />
                        <c:param name="compoundSpId" value="${compoundSp.id}" />
                      </c:url>">
                  <spring:message code="jsp.sp_detail.requestlink"/>
{'fraction_non_alphanumeric': 0.16120996441281138, 'fraction_numerical': 0.005338078291814947, 'mean_word_length': 3.0791001451378808, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '2652937', 'n_tokens_mistral': 1659, 'n_tokens_neox': 1619, 'n_words': 392}