Merge branch 'develop' into feature/searchIndexerRefine

This commit is contained in:
j2blake 2015-02-06 15:23:38 -05:00
commit f8b29f8415
4 changed files with 10 additions and 5 deletions

View file

@ -192,7 +192,7 @@ var i18nStrings = {
authorTypeText: '${i18n().author_capitalized}',
organizationTypeText: '${i18n().organization_capitalized}',
helpTextSelect: '${i18n().select_an_existing}',
helptextAdd: '${i18n().or_add_new_one}'
helpTextAdd: '${i18n().or_add_new_one}'
};
</script>

View file

@ -162,7 +162,7 @@ var i18nStrings = {
removeEditorshipAlert: '${i18n().error_processing_editor_request}',
editorTypeText: '${i18n().editor_capitalized}',
helpTextSelect: '${i18n().select_an_existing}',
helptextAdd: '${i18n().or_add_new_one}'
helpTextAdd: '${i18n().or_add_new_one}'
};
</script>

View file

@ -7,6 +7,10 @@
<#assign sparqlForAcFilter = editConfiguration.pageData.sparqlForAcFilter />
<#--This flag is for clearing the label field on submission for an existing object being selected from autocomplete.
Set this flag on the input acUriReceiver where you would like this behavior to occur. -->
<#assign flagClearLabelForExisting = "flagClearLabelForExisting" />
<h2>${i18n().create_own_concept_all_caps}</h2>
<@lvf.unsupportedBrowser urls.base />
@ -26,7 +30,7 @@
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection" title="${i18n().change_selection}">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="conceptNode" name="conceptNode" value="" />
<input class="acUriReceiver" type="hidden" id="conceptNode" name="conceptNode" value="" ${flagClearLabelForExisting}="true"/>
</div>
<br />
@ -54,7 +58,8 @@
typeName: 'Concept',
defaultTypeName: 'concept', // used in repair mode to generate button text
baseHref: '${urls.base}/individual?uri=',
limitToConceptClasses:["http://www.w3.org/2004/02/skos/core#Concept"]
limitToConceptClasses:["http://www.w3.org/2004/02/skos/core#Concept"],
flagClearLabelForExisting: '${flagClearLabelForExisting}'
};
var i18nStrings = {
selectAnExisting: '${i18n().select_an_existing}',

View file

@ -360,7 +360,7 @@ public class AddAuthorsToInformationResourceGenerator extends VivoBaseGenerator
+ " OPTIONAL { ?authorURI rdfs:label ?authorName } \n"
+ " OPTIONAL { ?authorshipURI core:rank ?rank } \n"
+ "} UNION { \n"
+ " <http://vivo.cornell.edu/individual/n2251> core:relatedBy ?authorshipURI . \n"
+ " ?subject core:relatedBy ?authorshipURI . \n"
+ " ?authorshipURI a core:Authorship . \n"
+ " ?authorshipURI core:relates ?authorURI . \n"
+ " ?authorURI a vcard:Individual . \n"