stages/email: fix email account confirmation email template
This commit is contained in:
parent
f69e20886b
commit
39f51ec33d
|
@ -39,8 +39,8 @@
|
|||
{% for flow in grouped_bindings %}
|
||||
<tr role="role">
|
||||
<td>
|
||||
{% blocktrans with name=flow.grouper.name %}
|
||||
Flow {{ name }}
|
||||
{% blocktrans with slug=flow.grouper.slug %}
|
||||
Flow {{ slug }}
|
||||
{% endblocktrans %}
|
||||
</td>
|
||||
<td></td>
|
||||
|
@ -56,9 +56,9 @@
|
|||
</td>
|
||||
<th role="columnheader">
|
||||
<div>
|
||||
<div>{{ binding.flow.name }}</div>
|
||||
<div>{{ binding.flow.slug }}</div>
|
||||
<small>
|
||||
{{ binding.flow }}
|
||||
{{ binding.flow.name }}
|
||||
</small>
|
||||
</div>
|
||||
</th>
|
||||
|
|
|
@ -21,7 +21,7 @@ class EmailTemplates(models.TextChoices):
|
|||
|
||||
|
||||
class EmailStage(Stage):
|
||||
"""email stage"""
|
||||
"""Email-based verification."""
|
||||
|
||||
host = models.TextField(default="localhost")
|
||||
port = models.IntegerField(default=25)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends 'email/base.html' %}
|
||||
{% extends 'stages/email/for_email/base.html' %}
|
||||
|
||||
{% load inline %}
|
||||
{% load passbook_stages_email %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "email/base.html" %}
|
||||
{% extends "stages/email/for_email/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<tr>
|
||||
|
|
Reference in a new issue