Add initial support for email bounce management.
This commit is contained in:
parent
cfd5e5ae50
commit
f523146a4b
5 changed files with 329 additions and 0 deletions
14
tailbone/templates/emailbounces/crud.mako
Normal file
14
tailbone/templates/emailbounces/crud.mako
Normal file
|
@ -0,0 +1,14 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="/crud.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
<% bounce = form.fieldset.model %>
|
||||
<li>${h.link_to("Back to Email Bounces", url('emailbounces'))}</li>
|
||||
% if not bounce.processed and request.has_perm('emailbounces.process'):
|
||||
<li>${h.link_to("Mark this Email Bounce as Processed", url('emailbounce.process', uuid=bounce.uuid))}</li>
|
||||
% elif bounce.processed and request.has_perm('emailbounces.unprocess'):
|
||||
<li>${h.link_to("Mark this Email Bounce as UN-processed", url('emailbounce.unprocess', uuid=bounce.uuid))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
6
tailbone/templates/emailbounces/index.mako
Normal file
6
tailbone/templates/emailbounces/index.mako
Normal file
|
@ -0,0 +1,6 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="/grid.mako" />
|
||||
|
||||
<%def name="title()">Email Bounces</%def>
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue