From 22d103590b3d8eed2cc50607716fa107030265e4 Mon Sep 17 00:00:00 2001 From: manolobevia Date: Fri, 17 Jun 2011 17:35:57 +0000 Subject: [PATCH] NIHVIVO-2232. Worked on menu management main page. Deleted individual menu templates from VIVO and moved them to VITRO. Work in progress. --- .../body/individual/individual-menu.ftl | 21 ---------- .../individual/individual-menu-properties.ftl | 40 ------------------- .../individual/individual-menu-vitro.ftl | 21 ---------- 3 files changed, 82 deletions(-) delete mode 100644 productMods/templates/freemarker/body/individual/individual-menu.ftl delete mode 100644 productMods/templates/freemarker/body/partials/individual/individual-menu-properties.ftl delete mode 100644 productMods/templates/freemarker/body/partials/individual/individual-menu-vitro.ftl diff --git a/productMods/templates/freemarker/body/individual/individual-menu.ftl b/productMods/templates/freemarker/body/individual/individual-menu.ftl deleted file mode 100644 index 3a08c665..00000000 --- a/productMods/templates/freemarker/body/individual/individual-menu.ftl +++ /dev/null @@ -1,21 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - -<#-- Default VIVO individual profile page template (extends individual.ftl in vitro) --> - -<#include "individual-setup.ftl"> - -<#assign individualProductExtension> - <#-- Include for any class specific template additions --> - ${classSpecificExtension!} - - <#include "individual-overview.ftl"> - - - - -<#include "individual-menu-vitro.ftl"> - -${stylesheets.add('')} - -${headScripts.add('')} -${scripts.add('')} diff --git a/productMods/templates/freemarker/body/partials/individual/individual-menu-properties.ftl b/productMods/templates/freemarker/body/partials/individual/individual-menu-properties.ftl deleted file mode 100644 index a6b9b6d2..00000000 --- a/productMods/templates/freemarker/body/partials/individual/individual-menu-properties.ftl +++ /dev/null @@ -1,40 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - -<#-- Template for property listing on individual profile page --> - -<#import "lib-properties.ftl" as p> -<#list propertyGroups.all as group> - - <#assign groupName = group.getName(nameForOtherGroup)> -
- - - <#-- Display the group heading --> - <#if groupName?has_content> -

${groupName?capitalize}

- - - <#-- List the properties in the group --> - <#list group.properties as property> -
- <#-- Property display name --> -

${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />

- <#-- List the statements for each property --> -
    - - <#-- data property --> - <#if property.type == "data"> - <@p.dataPropertyList property editable /> - <#-- object property --> - <#else> - <@p.objectProperty property editable property.template /> - -
-
- -
- \ No newline at end of file diff --git a/productMods/templates/freemarker/body/partials/individual/individual-menu-vitro.ftl b/productMods/templates/freemarker/body/partials/individual/individual-menu-vitro.ftl deleted file mode 100644 index 18f1a82b..00000000 --- a/productMods/templates/freemarker/body/partials/individual/individual-menu-vitro.ftl +++ /dev/null @@ -1,21 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - -<#-- Default individual profile page template --> -<#--@dumpAll /--> - -<#assign nameForOtherGroup = "other"> <#-- used by both individual-propertyGroupMenu.ftl and individual-properties.ftl --> - -<#-- Menu Ontology properties --> -<#include "individual-menu-properties.ftl"> - -${stylesheets.add('')} - -${headScripts.add('', - '', - '', - '', - '', - '', - '')} - -${scripts.add('')}