Projet

Général

Profil

0002-manually-generate-the-breadcrump-in-registration-tem.patch

Paul Marillonnet, 02 avril 2019 17:56

Télécharger (2,56 ko)

Voir les différences:

Subject: [PATCH 2/4] manually generate the breadcrump in registration
 templates (#31155)

 .../registration/registration_completion_choose.html         | 5 ++---
 .../templates/registration/registration_completion_form.html | 5 ++---
 src/authentic2/templates/registration/registration_form.html | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)
src/authentic2/templates/registration/registration_completion_choose.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3
{% load breadcrumbs %}
4 3

  
5 4
{% block title %}
6 5
    {% trans "Registration" %}
7 6
{% endblock %}
8 7

  
9
{% block breadcrumbs %}
8
{% block breadcrumb %}
10 9
    {{ block.super }}
11
    {% breadcrumb_url 'Register' %}
10
    <a href="{% url 'registration_activate' %}">{% trans 'Register' %}</a>
12 11
{% endblock %}
13 12

  
14 13
{% block content %}
src/authentic2/templates/registration/registration_completion_form.html
1 1
{% extends "authentic2/base-page.html" %}
2 2
{% load i18n %}
3
{% load breadcrumbs %}
4 3

  
5 4
{% block title %}
6 5
    {% trans "Registration" %}
7 6
{% endblock %}
8 7

  
9
{% block breadcrumbs %}
8
{% block breadcrumb %}
10 9
    {{ block.super }}
11
    {% breadcrumb_url 'Register' %}
10
    <a href="{% url 'registration_activate' %}">{% trans 'Register' %}</a>
12 11
{% endblock %}
13 12

  
14 13
{% block content %}
src/authentic2/templates/registration/registration_form.html
5 5
{{ view.title }}
6 6
{% endblock %}
7 7

  
8
{% load breadcrumbs %}
9
{% block breadcrumbs %}
8
{% block breadcrumb %}
10 9
{{ block.super }}
11
{% breadcrumb_url 'Register' %}
10
<a href="{% url 'registration_register' %}">{% trans 'Register' %}</a>
12 11
{% endblock %}
13 12

  
14 13
{% block content %}
15
-