-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added preregister for provider and updated mail templates
- Loading branch information
Showing
16 changed files
with
100 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{% extends 'common/email/base.html' %} | ||
{% load settings_value %} | ||
|
||
{% block title %}Registro{% endblock %} | ||
|
||
{% block maintitle %}Bienvenid@!{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<h2 style="color: #f78154; line-height: 100%;">Hola, {{account.display_name}}!</h2> | ||
|
||
|
||
<p>Recibes este email porque has sido dada de alta recientemente para utilizar la app del Mercado Social.</p> | ||
<p>Solo falta un último paso, que es que cuentes con una manera de acceder a tu área privada.</p> | ||
<p>Introduce la contraseña que utilizarás a partir de ahora en la app para gestionar la información de tu perfil en el siguiente enlace: {% settings_value 'BASESITE_URL' %}{% url 'auth:preregister' token %}</p> | ||
<p></p> | ||
<p>Desde ese momento, podrás acceder a tu panel de usuario y configurar el perfil de tu entidad y tus ofertas, así como ver las ventajas y validar carnets de socias.</p> | ||
<p></p> | ||
|
||
{% endblock%} | ||
|
||
{% block call_button %} | ||
|
||
{% url 'auth:preregister' token as link %} | ||
|
||
{% include 'common/email/button.html' with link_text='Completar Registro' link_href=link %} | ||
{% endblock call_button %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% load settings_value %} | ||
|
||
Bienvenid@ al Mercado Social! | ||
Hola, {{account.display_name}}! | ||
Recibes este email porque has sido dada de alta recientemente para utilizar la app del Mercado Social de Madrid. | ||
Solo falta un último paso, que es que cuentes con una manera de acceder a tu área privada. | ||
Introduce la contraseña que utilizarás a partir de ahora en la app para gestionar la información de tu perfil en el siguiente enlace: {% settings_value 'BASESITE_URL' %}{% url 'auth:preregister' token %} | ||
|
||
Desde ese momento, podrás acceder a tu panel de usuario y configurar el perfil de tu entidad y tus ofertas, así como gestionar tu uso de la moneda social. | ||
|
||
|
||
Aplicación móvil | ||
¿Sabías que hay una app desde la que acceder al Mercado Social de forma más cómoda? ¡Pruébala! | ||
Enlace a la app: https://play.google.com/store/apps/details?id=net.mercadosocial.moneda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,2 @@ | ||
{% if user.is_guest_account %} | ||
<i class="material-icons" data-toggle="tooltip" data-placement="bottom" title="Invitada">card_membership</i> | ||
{% else %} | ||
{% if user.is_preregistered %} | ||
<i class="material-icons" data-toggle="tooltip" data-placement="bottom" title="Pendiente registro">schedule</i> | ||
{% else %} | ||
<i class="material-icons" data-toggle="tooltip" data-placement="bottom" title="Registrada">done_all</i> | ||
{% endif %} | ||
{% endif %} | ||
{% include 'user/status_circle.html' %} | ||
<span class="text-muted" >{{user}}</span> |
Oops, something went wrong.