## -*- coding: utf-8 -*- <%inherit file="/page.mako" /> <%def name="title()">Merge 2 ${model_title_plural}%def> <%def name="extra_styles()"> ${parent.extra_styles()} %def> <%def name="context_menu_items()">
You are about to merge two ${model_title} records, (possibly) along with various related data. The tool you are using now is somewhat generic and is not able to give you the full picture of the implications of this merge. You are urged to proceed with caution!
Unless you know what you're doing, a good rule of thumb (though still no guarantee) is to merge only if the "resulting" column is all-white. (You may be able to swap kept/removed in order to achieve this.)
The ${h.link_to("{} on the left".format(model_title), view_url(object_to_remove), target='_blank', class_='merge-object')} will be deleted and the ${h.link_to("{} on the right".format(model_title), view_url(object_to_keep), target='_blank', class_='merge-object')} will be kept. The one which is to be kept may also be updated to reflect certain aspects of the one being deleted; however again the details are up to the app logic for this type of merge and aren't fully known to the generic tool which you're using now.
field name | deleting ${model_title} | keeping ${model_title} | resulting ${model_title} |
---|---|---|---|
${field} | ${repr(remove_data[field])} | ${repr(keep_data[field])} | ${repr(resulting_data[field])} |