0002-backoffice-add-variables-table-after-mail-template-f.patch
wcs/admin/mail_templates.py | ||
---|---|---|
14 | 14 |
# You should have received a copy of the GNU General Public License |
15 | 15 |
# along with this program; if not, see <http://www.gnu.org/licenses/>. |
16 | 16 | |
17 |
from quixote import get_response, redirect |
|
17 |
from quixote import get_publisher, get_response, redirect
|
|
18 | 18 |
from quixote.directory import Directory |
19 | 19 |
from quixote.html import TemplateIO, htmltext |
20 | 20 | |
... | ... | |
144 | 144 |
r = TemplateIO(html=True) |
145 | 145 |
r += htmltext('<h2>%s</h2>') % _('Edit Mail Template') |
146 | 146 |
r += form.render() |
147 |
r += get_publisher().substitutions.get_substitution_html_table() |
|
148 | ||
147 | 149 |
return r.getvalue() |
148 | 150 | |
149 | 151 |
def delete(self): |
150 |
- |