Projet

Général

Profil

0001-misc-don-t-use-addtoblock-to-insert-fc.css-25346.patch

Benjamin Dauvergne, 19 juillet 2018 08:26

Télécharger (1,84 ko)

Voir les différences:

Subject: [PATCH] misc: don't use addtoblock to insert fc.css (#25346)

 .../templates/authentic2_auth_fc/connecting.html               | 3 +--
 .../templates/authentic2_auth_fc/linking.html                  | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
src/authentic2_auth_fc/templates/authentic2_auth_fc/connecting.html
2 2
{% load authentic2 %}
3 3
{% load i18n %}
4 4

  
5
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}"></link>{% endaddtoblock %}
6

  
7 5
{% if 'nofc' not in request.GET %}
6
<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}">
8 7
<div id="fc-button-wrapper">
9 8
    <div id="fc-button">
10 9
        {% if not fc_user_info %}
src/authentic2_auth_fc/templates/authentic2_auth_fc/linking.html
1 1
{% load staticfiles authentic2 %}
2 2
{% load i18n %}
3 3

  
4
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}"></link>{% endaddtoblock %}
4
<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}">
5 5

  
6 6
<div id="fc-linking">
7 7
  <div class="fc">
8
-