Added code for deleting individuals
This commit is contained in:
parent
2a56ec8c30
commit
4fdbb71fee
7 changed files with 252 additions and 2 deletions
|
@ -720,6 +720,7 @@ there_are_no_entries_for_selection = There are no entries in the system from whi
|
|||
the_range_class_does_not_exist= The range class for this property does not exist in the system.
|
||||
editing_prohibited = This property is currently configured to prohibit editing.
|
||||
confirm_entry_deletion_from = Are you sure you want to delete the following entry from
|
||||
confirm_individual_deletion = Are you sure you want to delete the following individual?
|
||||
|
||||
edit_date_time_value = Edit Date/Time Value
|
||||
create_date_time_value = Create Date/Time Value
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
|
||||
<#if editConfiguration.pageData.redirectUrl??>
|
||||
<#assign redirectUrl = editConfiguration.pageData.redirectUrl />
|
||||
<#else>
|
||||
<#assign redirectUrl = "/" />
|
||||
</#if>
|
||||
<#assign statement = editConfiguration.objectStatementDisplay />
|
||||
<#assign deletionTemplateName = editConfiguration.deleteTemplate/>
|
||||
|
||||
<form action="${editConfiguration.deleteIndividualProcessingUrl}" method="get">
|
||||
<h2>${i18n().confirm_individual_deletion} </h2>
|
||||
|
||||
<input type="hidden" name="individualUri" value="${editConfiguration.objectUri}" role="input" />
|
||||
<input type="hidden" name="redirectUrl" value="${redirectUrl}" role="input" />
|
||||
<#assign deletionTemplateName = editConfiguration.deleteTemplate/>
|
||||
|
||||
<#if statement?has_content>
|
||||
<#include deletionTemplateName />
|
||||
</#if>
|
||||
<br />
|
||||
<p class="submit">
|
||||
<input type="submit" id="submit" value="${i18n().delete_button}" role="button"/>
|
||||
or
|
||||
<a class="cancel" title="${i18n().cancel_title}" href="${editConfiguration.cancelUrl}">${i18n().cancel_link}</a>
|
||||
</p>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue