All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.view-single-mapping-project.ftl Maven / Gradle / Ivy

<#include "molgenis-header.ftl">
<#include "molgenis-footer.ftl">

<#assign css=['mapping-service.css']>
<#assign js=['single-mapping-project.js', 'bootbox.min.js', 'jquery/scrollTableBody/jquery.scrollTableBody-1.0.0.js',
'jquery.validate.min.js']>

<@header css js/>



Mappings for the ${mappingProject.name?html} project

Create and view mappings.

Curated algorithms

Generated algorithms with high quality

Generated algorithms with low quality

Algorithms to discuss

<#list mappingProject.getMappingTarget(selectedTarget).entityMappings as source> <#list mappingProject.getMappingTarget(selectedTarget).target.getAtomicAttributes() as attribute> <#if !attribute.expression??> <#list mappingProject.getMappingTarget(selectedTarget).entityMappings as source> <#list mappingProject.getMappingTarget(selectedTarget).getMissingTargetAttributeNames() as missing> <#list mappingProject.getMappingTarget(selectedTarget).entityMappings as source>
Target model: ${selectedTarget?html}Source: ${source.name?html}
${attribute.label?html} (${attribute.dataType}) <#if !attribute.nillable> required <#if attribute.unique> unique <#if attribute.description??>
${attribute.description?html} <#if attribute.tags??>
<#list attribute.tags as tag>${tag.label?html}<#sep> , <#if attributeTagMap[attribute.name]??>
<#list attributeTagMap[attribute.name] as tag> ${tag.label}
<#assign attributeMapping = source.getAttributeMapping(attribute.name)> <#if attributeMapping.algorithmState??> <#if attributeMapping.algorithmState == "GENERATED_HIGH"> class="bg-info" <#elseif attributeMapping.algorithmState == "GENERATED_LOW"> class="bg-warning" <#elseif attributeMapping.algorithmState == "CURATED"> class="bg-success" <#elseif attributeMapping.algorithmState == "DISCUSS"> class="bg-danger" >
<#if source.getAttributeMapping(attribute.name)??>
<#if source.getAttributeMapping(attribute.name)??> <#assign attributeMapping = source.getAttributeMapping(attribute.name)> <#list attributeMapping.sourceAttributes as mappedSourceAttribute> <#if mappedSourceAttribute??>${mappedSourceAttribute.label?html}<#if mappedSourceAttribute_has_next> , <#if attributeMapping.algorithmState??> <#elseif !attribute.nillable> missing
${missing} missing <#if source.getAttributeMapping(missing)??>
<#if source.getAttributeMapping(missing)??> <#assign attributeMapping = source.getAttributeMapping(missing)> <#if attributeMapping.algorithm??>

${attributeMapping.algorithm?html}

<#if entityTypes?has_content>
<#if mappingProject.getMappingTarget(selectedTarget).entityMappings?has_content>
<@footer/>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy