From 6bcdae6f5c4ada2d408de9ca6c60a36defba19f6 Mon Sep 17 00:00:00 2001 From: hjkhjk54 Date: Mon, 21 Nov 2011 21:58:01 +0000 Subject: [PATCH] updates for manage webpage to include correct reorder/delete url --- .../edit/forms/addAssociatedConcept.ftl | 69 +++++++++++++++++-- .../forms/addAuthorsToInformationResource.ftl | 2 +- .../forms/manageWebpagesForIndividual.ftl | 4 +- 3 files changed, 65 insertions(+), 10 deletions(-) diff --git a/productMods/templates/freemarker/edit/forms/addAssociatedConcept.ftl b/productMods/templates/freemarker/edit/forms/addAssociatedConcept.ftl index e9dca238..3ecfde3e 100644 --- a/productMods/templates/freemarker/edit/forms/addAssociatedConcept.ftl +++ b/productMods/templates/freemarker/edit/forms/addAssociatedConcept.ftl @@ -7,12 +7,12 @@ <#assign submissionErrors = editSubmission.validationErrors/> +<#--This is set for testing purposes - will be retrieved dynamically from the generator later--> +<#assign sources = [{"uri":"UMLS", "label":"UMLS"}, {"uri":"Agrovoc", "label":"Agrovoc"}]/>

Manage Associated Concepts

- -<#--Display error messages if any--> - + <#if submissionErrors?has_content> +<#--@lvf.unsupportedBrowser--> + +
-
    @@ -38,8 +40,7 @@ var existingTermsData = []; - <#list existingConcepts?keys as key> - <#assign existingConcept = existingConcepts[key] /> + <#list existingConcepts as existingConcept>
  • @@ -63,4 +64,58 @@
-
\ No newline at end of file + + +<#if (existingConcepts?size = 0) > +

There are currently no concepts specified.

+ + +
+ or + Return +
+
+ + <#list sources as source> + checked /> + +
+ + +

+ + +

+ + + +
+ <%-- RY maybe make this a label and input field. See what looks best. --%> +

+

+ +
+ +

+ + or Cancel +

+ +
+
+ + + + + + +${scripts.add('')} + + + + diff --git a/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl b/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl index 19b187f5..1bd56bee 100644 --- a/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl +++ b/productMods/templates/freemarker/edit/forms/addAuthorsToInformationResource.ftl @@ -23,7 +23,7 @@ <#assign requiredHint=" *" /> <#assign initialHint="(initial okay)" /> -<#--include unsupported browser message--> +<#--unsupported browser message-->

${title}