## -*- coding: utf-8; -*- <%inherit file="/master/view.mako" /> <%def name="object_helpers()"> ${parent.object_helpers()} ${self.render_import_helper()} %def> <%def name="render_import_helper()"> % if master.has_perm('import_from_harvest'): Re-Import % if master.has_perm('import_from_harvest'): ${h.form(master.get_action_url('import_from_harvest', instance), **{'@submit': 'importFromHarvestSubmitting = true'})} ${h.csrf_token(request)} {{ importFromHarvestSubmitting ? "Working, please wait..." : "Re-Import from Harvest" }} ${h.end_form()} % endif % endif %def> <%def name="modify_this_page_vars()"> ${parent.modify_this_page_vars()} % if master.has_perm('import_from_harvest'): % endif %def> ${parent.body()}
Re-Import