Add more views for product origins
This commit is contained in:
parent
dca270f682
commit
456415b0fa
6 changed files with 201 additions and 6 deletions
|
@ -0,0 +1,12 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/master/index.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if request.has_perm('corepos.origins'):
|
||||
<li>${h.link_to("View CORE-POS Origins", url('corepos.origins'))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
18
tailbone_corepos/templates/core-pos/origins/index.mako
Normal file
18
tailbone_corepos/templates/core-pos/origins/index.mako
Normal file
|
@ -0,0 +1,18 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/master/index.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if request.has_perm('corepos.origin_regions'):
|
||||
<li>${h.link_to("View CORE-POS Origin Regions", url('corepos.origin_regions'))}</li>
|
||||
% endif
|
||||
% if request.has_perm('corepos.origin_stateprov'):
|
||||
<li>${h.link_to("View CORE-POS Origin States/Provinces", url('corepos.origin_stateprov'))}</li>
|
||||
% endif
|
||||
% if request.has_perm('corepos.origin_countries'):
|
||||
<li>${h.link_to("View CORE-POS Origin Countries", url('corepos.origin_countries'))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
|
@ -0,0 +1,12 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/master/index.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if request.has_perm('corepos.origins'):
|
||||
<li>${h.link_to("View CORE-POS Origins", url('corepos.origins'))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
|
@ -0,0 +1,12 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/master/index.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if request.has_perm('corepos.origins'):
|
||||
<li>${h.link_to("View CORE-POS Origins", url('corepos.origins'))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue