NIHVIVO-2963 Completed refactor of menupage.ftl to account for class intersection pages (i.e. only display internal individuals via intersection with institutional internal class). Removed unnecessary files.
This commit is contained in:
parent
ffad7bf702
commit
e1c19ba56e
4 changed files with 3 additions and 135 deletions
|
@ -1,9 +0,0 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
<#--Need to add restrict classes information-->
|
||||
<input type="hidden" name="restrictClasses" id="restrictClasses" value="${internalClass}"/>
|
||||
<#--Using the same page setup as regular class groups so including the entire template-->
|
||||
<#include "menupage.ftl">
|
||||
<#--add script-->
|
||||
<#if !noData>
|
||||
${scripts.add('<script type="text/javascript" src="${urls.base}/js/menupage/browseByVClasses.js"></script>')}
|
||||
</#if>
|
|
@ -18,9 +18,10 @@
|
|||
<script type="text/javascript">
|
||||
var menupageData = {
|
||||
baseUrl: '${urls.base}',
|
||||
dataServiceUrl: '${dataServiceUrlIndividualsByVClass}',
|
||||
<#if internalClass?has_content>
|
||||
internalClassUri: '${internalClass}',
|
||||
dataServiceUrl: '${dataServiceUrlIndividualsByVClass}${internalClass}&vclassId=',
|
||||
<#else>
|
||||
dataServiceUrl: '${dataServiceUrlIndividualsByVClass}',
|
||||
</#if>
|
||||
defaultBrowseVClassUri: '${firstNonEmptyVClass}'
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue