Ticket #6723: widgets.diff

File widgets.diff, 891 bytes (added by zbyszek, 17 years ago)

diff file for widgets.py

  • widgets.py

     
    150150            output.append(u'<a href="%sadd/" class="add-another" id="add_id_%s" onclick="return showAddAnotherPopup(this);"> ' % \
    151151                (related_url, name))
    152152            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)
    153156        return mark_safe(u''.join(output))
    154157
    155158    def __deepcopy__(self, memo):
Back to Top