Project

General

Profile

0001-universite-paris-nanterre-do-not-show-register-link-.patch

Thomas Noël, 12 Jun 2019 12:22 PM

Download (1.45 KB)

View differences:

Subject: [PATCH] universite-paris-nanterre: do not show register link (#33867)

 .../combo/page_template.html                     | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 templates/variants/universite-paris-nanterre/combo/page_template.html
templates/variants/universite-paris-nanterre/combo/page_template.html
1
{% extends "combo/page_template.html" %}
2
{% load combo %}
3

  
4
{% block user-info %}
5
{% skeleton_extra_placeholder user-info %}
6
          {% if user.is_authenticated %}
7
          <span class="logged-in">
8
            {% if idp_account_url %}<a href="{{idp_account_url}}">{% endif %}
9
            <span class="connected-user">{{user.first_name}} {{user.last_name}}</span>{% if idp_account_url %}</a>{% endif %}
10
            <a accesskey="o" class="logout" href="{% url 'auth_logout' %}">D&eacute;connexion</a>
11
          </span>
12
          {% else %}
13
            <span class="login"><a accesskey="2" href="{% url 'auth_login' %}">Connexion</a></span>
14
          {% endif %}
15
{% end_skeleton_extra_placeholder %}
16
{% endblock %}
0
-