templates.view-mapping-projects.ftl Maven / Gradle / Ivy
<#include "molgenis-header.ftl">
<#include "molgenis-footer.ftl">
<#assign css=['mapping-service.css']>
<#assign js=['mapping-projects.js', 'bootbox.min.js', 'jquery/scrollTableBody/jquery.scrollTableBody-1.0.0.js']>
<@header css js/>
<@createNewMappingProjectModal />
Mapping projects overview
Create and view mapping projects. <#if importerUri??>Upload additional target entities and mapped sources here.#if>
<#if entityTypes?has_content>
#if>
<#if mappingProjects?has_content>
Mapping name
Max depth
Target entities
Mapped sources
<#list mappingProjects as project>
${project.name?html}
<#if project.depth gt 1 >
#if>
${project.depth}
<#if project.mappingTargets?size != 0>
<#list project.mappingTargets as target>
<#if target??>${target.name?html}<#else>Target undefined or unknown#if><#if target_has_next>, #if>
#list>
<#else>
Targets undefined or unknown
#if>
<#list project.mappingTargets as target>
<#if target??>
<#list target.entityMappings as mapping>
<#if mapping.name??>${mapping.name?html}<#else>Source undefined or unknown#if><#if mapping_has_next>, #if>
#list>
#if>
<#break>
#list>
#list>
#if>
<@footer/>
<#macro createNewMappingProjectModal>
#macro>