stages/email: fix email account confirmation email template

This commit is contained in:
Jens Langhammer 2020-06-21 20:13:59 +02:00
parent f69e20886b
commit 39f51ec33d
4 changed files with 8 additions and 8 deletions

View File

@ -39,8 +39,8 @@
{% for flow in grouped_bindings %} {% for flow in grouped_bindings %}
<tr role="role"> <tr role="role">
<td> <td>
{% blocktrans with name=flow.grouper.name %} {% blocktrans with slug=flow.grouper.slug %}
Flow {{ name }} Flow {{ slug }}
{% endblocktrans %} {% endblocktrans %}
</td> </td>
<td></td> <td></td>
@ -56,9 +56,9 @@
</td> </td>
<th role="columnheader"> <th role="columnheader">
<div> <div>
<div>{{ binding.flow.name }}</div> <div>{{ binding.flow.slug }}</div>
<small> <small>
{{ binding.flow }} {{ binding.flow.name }}
</small> </small>
</div> </div>
</th> </th>

View File

@ -21,7 +21,7 @@ class EmailTemplates(models.TextChoices):
class EmailStage(Stage): class EmailStage(Stage):
"""email stage""" """Email-based verification."""
host = models.TextField(default="localhost") host = models.TextField(default="localhost")
port = models.IntegerField(default=25) port = models.IntegerField(default=25)

View File

@ -1,6 +1,6 @@
{% extends 'email/base.html' %} {% extends 'stages/email/for_email/base.html' %}
{% load inline %} {% load passbook_stages_email %}
{% load i18n %} {% load i18n %}
{% block content %} {% block content %}

View File

@ -1,4 +1,4 @@
{% extends "email/base.html" %} {% extends "stages/email/for_email/base.html" %}
{% block content %} {% block content %}
<tr> <tr>