NIHVIVO-1341 Change names of custom list view config files, xml elements, templates.

This commit is contained in:
rjy7 2010-12-17 22:11:04 +00:00
parent 81855eddc2
commit 92040a8eb2
3 changed files with 5 additions and 7 deletions

View file

@ -16,7 +16,7 @@
xmlns:vitro="&vitro;"> xmlns:vitro="&vitro;">
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#educationalTraining"> <rdf:Description rdf:about="http://vivoweb.org/ontology/core#educationalTraining">
<display:listViewConfigurationFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">objectPropertyList-educationalTraining.xml</display:listViewConfigurationFile> <display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">objectPropertyList-educationalTraining.xml</display:listViewConfigFile>
</rdf:Description> </rdf:Description>
</rdf:RDF> </rdf:RDF>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<view-config> <list-view-config>
<query> <query>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt; PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
@ -20,5 +20,5 @@
} ORDER BY DESC(?dateTime) } ORDER BY DESC(?dateTime)
</query> </query>
<template>shortView-educationalTraining.ftl</template> <template>propStatement-educationalTraining.ftl</template>
</view-config> </list-view-config>

View file

@ -1,10 +1,9 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Custom object property statement short view for http://vivoweb.org/ontology/core#educationalTraining --> <#-- Custom object property statement view for http://vivoweb.org/ontology/core#educationalTraining -->
<#import "lib-sequence.ftl" as s> <#import "lib-sequence.ftl" as s>
<#compress>
<#assign degree> <#assign degree>
<#if statement.degree??> <#if statement.degree??>
<@s.join [ statement.degreeAbbr!statement.degreeName, statement.majorField! ], " in " /> <@s.join [ statement.degreeAbbr!statement.degreeName, statement.majorField! ], " in " />
@ -14,4 +13,3 @@
<#assign org><a href="${url(statement.org)}">${statement.orgName}</a></#assign> <#assign org><a href="${url(statement.org)}">${statement.orgName}</a></#assign>
<@s.join [ degree, org, statement.deptOrSchool!, statement.info!, statement.datetime! ] /> <@s.join [ degree, org, statement.deptOrSchool!, statement.info!, statement.datetime! ] />
</#compress>