0002-toulouse-2022-overwrite-text-on-dpark-71302.patch
templates/combo/json/dpark.html | ||
---|---|---|
1 | 1 |
<h2>{% if dpark_title %}{{ dpark_title }}{% else %}Informations abonnement stationnement{% endif %}</h2> |
2 | 2 |
<div> |
3 | 3 |
{% if not json.data %} |
4 |
{% block empty_data_text %} |
|
4 | 5 |
<div><p>Vous pouvez relier votre compte Publik à votre compte D-Park via <a href="{{pairing_form_url}}">ce formulaire</a>.</p></div> |
6 |
{% endblock %} |
|
5 | 7 |
{% else %} |
6 | 8 |
<div class="dpark-infos"> |
7 | 9 |
{% for info in json.data %} |
8 | 10 |
<h3>{{ info.text }}</h3> |
9 | 11 |
<div class="dpark-info-identity section"> |
10 | 12 |
<h4>Identité</h4> |
11 | 13 |
<div> |
12 | 14 |
<div class="field"><span class="label">Civilité</span>: <span class="value">{% if info.demandeur_civilite == 2 %}Madame{% else %}Monsieur{% endif %}</span></div> |
templates/variants/toulouse-2022/combo/json/dpark.html | ||
---|---|---|
1 |
{% extends "combo/json/dpark.html" %} |
|
2 | ||
3 |
{% block empty_data_text %} |
|
4 |
<div><p>Vous pouvez relier votre compte MonToulouse à votre abonnement stationnement via <a href="{{pairing_form_url}}">ce formulaire</a>.</p></div> |
|
5 |
{% endblock %} |
|
0 |
- |