label management and concept semantic type
This commit is contained in:
parent
3314e5a4b0
commit
9ec7d11cab
5 changed files with 53 additions and 48 deletions
|
@ -17,7 +17,10 @@
|
|||
<#assign submissionErrors = editSubmission.validationErrors/>
|
||||
<#assign submissionErrorsExist = "true" />
|
||||
</#if>
|
||||
|
||||
<#assign availableLocalesNumber = 0/>
|
||||
<#if editConfiguration.pageData.selectLocale?has_content>
|
||||
<#assign availableLocalesNumber = editConfiguration.pageData.selectLocale?size />
|
||||
</#if>
|
||||
<#if editConfiguration.pageData.subjectName?? >
|
||||
<h2>${i18n().manage_labels_for} ${editConfiguration.pageData.subjectName}</h2>
|
||||
<#else>
|
||||
|
@ -64,7 +67,7 @@
|
|||
</#if>
|
||||
|
||||
</p>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
@ -83,7 +86,8 @@ var customFormData = {
|
|||
processingUrl: '${urls.base}/edit/primitiveRdfEdit',
|
||||
individualUri: '${subjectUri!}',
|
||||
submissionErrorsExist: '${submissionErrorsExist}',
|
||||
selectLocalesFullList: selectLocalesFullList
|
||||
selectLocalesFullList: selectLocalesFullList,
|
||||
numberAvailableLocales:${availableLocalesNumber}
|
||||
};
|
||||
var i18nStrings = {
|
||||
errorProcessingLabels: '${i18n().error_processing_labels}',
|
||||
|
|
|
@ -214,12 +214,10 @@ name will be used as the label. -->
|
|||
<#local label = individual.nameStatement>
|
||||
${label.value}
|
||||
<#if (labelCount > 1) && editable >
|
||||
<#-- Changing this so that manage labels now goes to generator -->
|
||||
<#-- Manage labels now goes to generator -->
|
||||
<span class="inline">
|
||||
<#--Previous link which went to manage labels controller-->
|
||||
<#--a id="manageLabels" href="${urls.base}/manageLabels?subjectUri=${individual.uri!}"-->
|
||||
<a class="add-label" href="${urls.base}/editRequestDispatch?subjectUri=${individual.uri!}&editForm=edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.ManageLabelsForIndividualGenerator&predicateUri=${labelPropertyUri}"
|
||||
title="${i18n().manage_list_of} labels">
|
||||
title="${i18n().manage_list_of_labels}">
|
||||
<img class="add-individual" src="${urls.images}/individual/manage-icon.png" alt="${i18n().manage}" /></a>
|
||||
</span>
|
||||
<#else>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue