From 7be66f9748e42ccf4c72190d4e23d7ac5d733343 Mon Sep 17 00:00:00 2001 From: tworrall Date: Fri, 20 Dec 2013 13:27:21 -0500 Subject: [PATCH] encode urls being used as parameters --- .../individual-affiliated-departments.ftl | 70 ++++++++-------- .../individual-affiliated-research-areas.ftl | 80 +++++++++---------- 2 files changed, 75 insertions(+), 75 deletions(-) diff --git a/productMods/templates/freemarker/body/partials/individual/individual-affiliated-departments.ftl b/productMods/templates/freemarker/body/partials/individual/individual-affiliated-departments.ftl index 59a6f9b8..7370afdc 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-affiliated-departments.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-affiliated-departments.ftl @@ -1,35 +1,35 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#if departmentsResults?has_content> - <#-- is strictly a usability issue so we can refer accurately to "faculty members" within the dept. --> - <#assign urlForDetailsPage = "affiliatedDepartments" /> - <#assign headingText = "${i18n().affiliated_departments}" /> -

- ${headingText} -

- - - +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> +<#if departmentsResults?has_content> + <#-- is strictly a usability issue so we can refer accurately to "faculty members" within the dept. --> + <#assign urlForDetailsPage = "affiliatedDepartments" /> + <#assign headingText = "${i18n().affiliated_departments}" /> +

+ ${headingText} +

+ + + diff --git a/productMods/templates/freemarker/body/partials/individual/individual-affiliated-research-areas.ftl b/productMods/templates/freemarker/body/partials/individual/individual-affiliated-research-areas.ftl index d0a3ab8a..aa76a095 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-affiliated-research-areas.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-affiliated-research-areas.ftl @@ -1,40 +1,40 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#if researchAreaResults?has_content> - <#-- If the organization is an Academic Department, we use a different datagetter and detail page. This --> - <#-- is strictly a usability issue so we can refer accurately to "faculty members" within the dept. --> - <#assign urlForDetailsPage = "affiliatedResearchAreas" /> - <#assign headingText = "${i18n().affiliated_research_areas}" /> - <#if individual.mostSpecificTypes?seq_contains("Academic Department")> - <#assign urlForDetailsPage = "deptResearchAreas" /> - <#assign headingText = "${i18n().faculty_research_areas}" /> - -

- ${headingText} -

- - - +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> +<#if researchAreaResults?has_content> + <#-- If the organization is an Academic Department, we use a different datagetter and detail page. This --> + <#-- is strictly a usability issue so we can refer accurately to "faculty members" within the dept. --> + <#assign urlForDetailsPage = "affiliatedResearchAreas" /> + <#assign headingText = "${i18n().affiliated_research_areas}" /> + <#if individual.mostSpecificTypes?seq_contains("Academic Department")> + <#assign urlForDetailsPage = "deptResearchAreas" /> + <#assign headingText = "${i18n().faculty_research_areas}" /> + +

+ ${headingText} +

+ + +