diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-organization.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-organization.ftl new file mode 100644 index 00000000..98963e2a --- /dev/null +++ b/productMods/templates/freemarker/body/individual/individual--foaf-organization.ftl @@ -0,0 +1,9 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#-- Individual profile page template for foaf:Organization individuals (extends individual.ftl in vivo)--> + +<#assign classSpecificExtension> + <#include "individual-visualizationTemporalGraph.ftl"> + + +<#include "individual.ftl"> \ No newline at end of file diff --git a/productMods/templates/freemarker/body/individual/individual.ftl b/productMods/templates/freemarker/body/individual/individual.ftl index 655c13fd..b6ea87d9 100644 --- a/productMods/templates/freemarker/body/individual/individual.ftl +++ b/productMods/templates/freemarker/body/individual/individual.ftl @@ -5,8 +5,8 @@ <#include "individual-setup.ftl"> <#assign individualProductExtension> - <#-- Remove include below when individual--foaf-organization.ftl is created --> - <#include "individual-visualization.ftl"> + <#-- Include for any class specific template additions --> + ${classSpecificExtension!} <#include "individual-overview.ftl"> diff --git a/productMods/templates/freemarker/body/partials/individual/individual-visualization.ftl b/productMods/templates/freemarker/body/partials/individual/individual-visualization.ftl deleted file mode 100644 index 72ff1397..00000000 --- a/productMods/templates/freemarker/body/partials/individual/individual-visualization.ftl +++ /dev/null @@ -1,10 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - -<#-- Individual visualization template --> - -<#if individual.organization> - <#-- Logically we only need section#temporal-graph, but css may depend on the outer sections. Leaving here for UI team to check. --> -
-

Temporal Graph

-
- \ No newline at end of file diff --git a/productMods/templates/freemarker/body/partials/individual/individual-visualizationTemporalGraph.ftl b/productMods/templates/freemarker/body/partials/individual/individual-visualizationTemporalGraph.ftl new file mode 100644 index 00000000..e6316e84 --- /dev/null +++ b/productMods/templates/freemarker/body/partials/individual/individual-visualizationTemporalGraph.ftl @@ -0,0 +1,7 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#-- Temporal graph visualization --> + +
+

Temporal Graph

+
\ No newline at end of file