From 4bb7f5d99cdf12f72d3e8b91cd0dd28b9e8fc1f9 Mon Sep 17 00:00:00 2001 From: mb863 Date: Wed, 8 Dec 2010 23:25:24 +0000 Subject: [PATCH] NIHVIVO-1315: Cleaning unnecessary html markup, wired primary link, additional links, and worked on Visualization. --- .../freemarker/body/individual/individual.ftl | 123 +++++------------- 1 file changed, 29 insertions(+), 94 deletions(-) diff --git a/webapp/web/templates/freemarker/body/individual/individual.ftl b/webapp/web/templates/freemarker/body/individual/individual.ftl index 77e7fa7a6..b4114f311 100644 --- a/webapp/web/templates/freemarker/body/individual/individual.ftl +++ b/webapp/web/templates/freemarker/body/individual/individual.ftl @@ -9,94 +9,18 @@ <#if editStatus.showEditLinks>editing<#else> -
- <#if editStatus.showAdminPanel> - <#include "individual-adminPanel.ftl"> - +<#if editStatus.showAdminPanel> + <#include "individual-adminPanel.ftl"> + -
-
- - <#if relatedSubject??> -

${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}

-

← return to ${relatedSubject.name}

- <#else> - <#-- Label --> - <@p.dataPropWrapper id="label"> -

${individual.name}

- - - <#-- Moniker --> - <#if individual.moniker?has_content> - <@p.dataPropsWrapper id="moniker"> - ${individual.moniker} - - - -
- - <#include "individual-sparklineVisualization.ftl"> - - <#-- Thumbnail --> -
- <#if individual.thumbUrl??> - <@p.dataPropsWrapper id="thumbnail"> - - ${individual.name} - - - <#elseif individual.person> - <@p.dataPropsWrapper id="thumbnail"> - placeholder image - - -
- - <#-- Links --> - <#if individual.links?has_content> - - - - <#-- Ontology properties --> - <#include "individual-properties.ftl"> - - <#-- Keywords --> - <#if individual.keywords?has_content> -

Keywords: ${individual.keywordString}

- -
- -
-
<#-- Thumbnail --> - <#--
--> <#if individual.thumbUrl??> - <#--<@p.dataPropsWrapper id="thumbnail">--> - ${individual.name} - <#----> + ${individual.name} <#elseif individual.person> - <#--<@p.dataPropsWrapper id="thumbnail">--> - placeholder image - <#----> + placeholder image - <#--
-->
@@ -126,15 +54,11 @@

← return to ${relatedSubject.name}

<#else> <#-- Label --> - <#--<@p.dataPropWrapper id="label">-->

${individual.name} - <#----> - + <#-- Moniker --> <#if individual.moniker?has_content> - <#--<@p.dataPropsWrapper id="moniker">--> - ${individual.moniker} - <#----> + ${individual.moniker}

@@ -142,12 +66,12 @@

Current Positions

-

Born Margarita Carmen Cansino in Brooklyn, New York City, she was the daughter of flamenco dancer Eduardo Cansino, Sr., who was himself a Sephardic Jewish Spaniard from Castilleja de la Cuesta (Seville), and Ziegfeld girl Volga Hayworth who was of Irish and English descent. She was raised as a Roman Catholic. Her father wanted her to become a dancer while her mother hoped she would become an actress. Her grandfather, Antonio Cansino [+]

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed est erat, tristique non bibendum eu, mollis non est. Cras vehicula velit quis elit porta vel molestie tellus blandit. Donec eget magna dolor. Phasellus faucibus mollis lorem at dapibus. Sed ultricies lobortis mauris in volutpat. Cras mattis neque ut sapien pellentesque fringilla. Mauris posuere dui quis massa mattis id mollis nibh accumsan. [+]

Roles

@@ -161,6 +85,8 @@
+ <#include "individual-sparklineVisualization.ftl"> +

2 publications within the last 10 years

@@ -185,6 +111,15 @@

View All 4

+ +<#-- Ontology properties --> +<#include "individual-properties.ftl"> + +<#-- Keywords --> +<#if individual.keywords?has_content> +

Keywords: ${individual.keywordString}

+ + ${stylesheets.addFromTheme("/css/entity.css")} <#-- RY Figure out which of these scripts really need to go into the head, and which are needed at all (e.g., tinyMCE??) -->