NIHVIVO-1071 Changed title attributes of edit links to use "entry" instead of "relationship". imageUploadUtils.js was updated only to reflect this change, but still needs work to resolve the bug described in NIHVIVO-1776
This commit is contained in:
parent
c3fa7734f1
commit
c27938d19b
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
$(document).ready(function(){
|
||||
|
||||
// Confirmation alert for photo deletion in image upload and individual templates
|
||||
$('#photoUploadDefaultImage a.thumbnail,#share-contact a[title="delete this relationship"]').click(function(){
|
||||
$('#photoUploadDefaultImage a.thumbnail,#share-contact a[title="delete this entry"]').click(function(){
|
||||
var answer = confirm('Are you sure you want to delete your photo?');
|
||||
return answer;
|
||||
});
|
||||
|
|
|
@ -46,7 +46,7 @@ name will be used as the label. -->
|
|||
<#if showEditingLinks>
|
||||
<#local url = property.addUrl>
|
||||
<#if url?has_content>
|
||||
<a href="${url}" title="add relationship"><img class="add-individual" src="${urls.images}/individual/addIcon.gif" alt="add" /></a>
|
||||
<a href="${url}" title="add entry"><img class="add-individual" src="${urls.images}/individual/addIcon.gif" alt="add" /></a>
|
||||
</#if>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
@ -68,14 +68,14 @@ name will be used as the label. -->
|
|||
<#macro editLink statement>
|
||||
<#local url = statement.editUrl>
|
||||
<#if url?has_content>
|
||||
<a href="${url}" title="change this relationship"><img class="edit-individual" src="${urls.images}/individual/editIcon.gif" alt="edit" /></a>
|
||||
<a href="${url}" title="edit this entry"><img class="edit-individual" src="${urls.images}/individual/editIcon.gif" alt="edit" /></a>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
||||
<#macro deleteLink statement>
|
||||
<#local url = statement.deleteUrl>
|
||||
<#if url?has_content>
|
||||
<a href="${url}" title="delete this relationship"><img class="delete-individual" src="${urls.images}/individual/deleteIcon.gif" alt="delete" /></a>
|
||||
<a href="${url}" title="delete this entry"><img class="delete-individual" src="${urls.images}/individual/deleteIcon.gif" alt="delete" /></a>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue