Ticket #6723: widgets.diff
File widgets.diff, 891 bytes (added by , 17 years ago) |
---|
-
widgets.py
150 150 output.append(u'<a href="%sadd/" class="add-another" id="add_id_%s" onclick="return showAddAnotherPopup(this);"> ' % \ 151 151 (related_url, name)) 152 152 output.append(u'<img src="%simg/admin/icon_addlink.gif" width="10" height="10" alt="Add Another"/></a>' % settings.ADMIN_MEDIA_PREFIX) 153 output.append('<a href="%s" class="related-lookup" id="edit_id_%s" onclick="return showEditSelectedPopup(this);"> ' % \ 154 (related_url, name)) 155 output.append(u'<img src="%simg/admin/icon_changelink.gif" width="10" height="10" alt="Edit Selected"/></a>' % settings.ADMIN_MEDIA_PREFIX) 153 156 return mark_safe(u''.join(output)) 154 157 155 158 def __deepcopy__(self, memo):