tailbone/tailbone/templates/batch/vendorcatalog/index.mako
Lance Edgar 5ff57ae7d2 Add link to download generic template for vendor catalog batch
also let config restrict which parsers are "supported"

and auto-choose parser if there is only one
2021-11-05 18:40:46 -05:00

15 lines
457 B
Mako

## -*- coding: utf-8; -*-
<%inherit file="/batch/index.mako" />
<%def name="context_menu_items()">
${parent.context_menu_items()}
% if generic_template_url and master.has_perm('create'):
<li>${h.link_to("Download Generic Template", generic_template_url)}</li>
% endif
% if h.route_exists(request, 'vendors') and request.has_perm('vendors.list'):
<li>${h.link_to("View Vendors", url('vendors'))}</li>
% endif
</%def>
${parent.body()}