Merge branch 'develop' of https://github.com/vivo-project/Vitro into develop
This commit is contained in:
commit
946c40a13e
8 changed files with 298 additions and 298 deletions
|
@ -265,6 +265,8 @@
|
|||
================================= -->
|
||||
<target name="clean" description="--> Delete all artifacts.">
|
||||
<delete dir="${build.dir}" />
|
||||
<!-- delete the rdf files, removing any unused languages, for example. -->
|
||||
<delete dir="${vitro.home}/rdf" />
|
||||
</target>
|
||||
|
||||
<!-- =================================
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,5 @@
|
|||
# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
|
||||
#Data getter type labels
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
|
||||
# This file is for the portions of the pageList that should not be editable, i.e.
|
||||
# that it cannot be deleted and that it requires certain permissions
|
||||
# This file is for the portions of the pageList that should not be editable, i.e.#
|
||||
# that it cannot be deleted and that it requires certain permissions #
|
||||
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
|
@ -12,6 +12,5 @@
|
|||
### This file defines the page list menu for vitro. ###
|
||||
|
||||
display:pageListPage
|
||||
display:queryModel <vitro:requestDisplayModel> ;
|
||||
display:requiresAction <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#ManageMenus> ;
|
||||
display:cannotDeletePage "true" .
|
|
@ -18,6 +18,7 @@ display:pageListPage
|
|||
display:pageListData
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||
display:saveToVar "pages" ;
|
||||
display:queryModel <vitro:requestDisplayModel> ;
|
||||
display:query """
|
||||
PREFIX display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
|
|
@ -207,12 +207,10 @@ public class RequestModelsPrep implements Filter {
|
|||
OntModelSpec.OWL_MEM, dataset.getDefaultModel());
|
||||
|
||||
ModelAccess.on(vreq).setOntModel(ModelID.BASE_ABOX, baseABoxModel);
|
||||
ModelAccess.on(vreq).setOntModel(ModelID.INFERRED_ABOX, unionABoxModel);
|
||||
ModelAccess.on(vreq)
|
||||
.setOntModel(ModelID.UNION_ABOX, inferenceABoxModel);
|
||||
ModelAccess.on(vreq).setOntModel(ModelID.INFERRED_ABOX, inferenceABoxModel);
|
||||
ModelAccess.on(vreq).setOntModel(ModelID.UNION_ABOX, unionABoxModel);
|
||||
ModelAccess.on(vreq).setOntModel(ModelID.BASE_FULL, baseFullModel);
|
||||
ModelAccess.on(vreq).setOntModel(ModelID.INFERRED_FULL,
|
||||
inferenceFullModel);
|
||||
ModelAccess.on(vreq).setOntModel(ModelID.INFERRED_FULL, inferenceFullModel);
|
||||
ModelAccess.on(vreq).setOntModel(ModelID.UNION_FULL, unionFullModel);
|
||||
}
|
||||
|
||||
|
|
|
@ -374,7 +374,8 @@ a.filter-search {
|
|||
line-height: 35px;
|
||||
}
|
||||
#home-stats h4 {
|
||||
width: 102px;
|
||||
display: inline;
|
||||
padding: 3px 10px;
|
||||
}
|
||||
#stats {
|
||||
margin: 0 auto;
|
||||
|
|
|
@ -249,7 +249,7 @@ name will be used as the label. -->
|
|||
${label.value}
|
||||
<#if useEditLink>
|
||||
<@editingLinks "label" "" label editable />
|
||||
<#elseif editable || (languageCount > 1)>
|
||||
<#elseif (editable && (labelCount > 0)) || (languageCount > 1)>
|
||||
<#--We display the link even when the user is not logged in case of multiple labels with different languages-->
|
||||
<#assign labelLink = ""/>
|
||||
<#-- Manage labels now goes to generator -->
|
||||
|
@ -274,7 +274,7 @@ name will be used as the label. -->
|
|||
|
||||
<span class="inline">
|
||||
<a class="add-label" href="${labelLink}"
|
||||
title="${linkTitle}">${individualProfileUrl} -> ${profileParameters} -> ${extraParameters}
|
||||
title="${linkTitle}">
|
||||
<img class="add-individual" src="${urls.images}/individual/manage-icon.png" alt="${imageAlt}" /></a>
|
||||
</span>
|
||||
</#if>
|
||||
|
|
Loading…
Add table
Reference in a new issue