Projet

Général

Profil

0001-templates-remove-spaces-before-question-marks-65077.patch

Frédéric Péters, 10 mai 2022 19:49

Télécharger (5,05 ko)

Voir les différences:

Subject: [PATCH] templates: remove spaces before question marks (#65077)

 .../manager/templates/authentic2/manager/delete.html        | 2 +-
 .../authentic2/manager/role_remove_admin_role.html          | 2 +-
 .../authentic2/manager/role_remove_admin_user.html          | 2 +-
 src/authentic2/templates/authentic2/logout_confirm.html     | 2 +-
 .../templates/interaction/consent_federation.html           | 6 ++++--
 .../templates/authentic2_idp_oidc/authorization.html        | 2 +-
 6 files changed, 9 insertions(+), 7 deletions(-)
src/authentic2/manager/templates/authentic2/manager/delete.html
9 9
    {% csrf_token %}
10 10
    <div class="form-inner-container">
11 11
      {% block caption %}
12
      <p>{% blocktrans %}Do you want to delete {{ model_name }} {{ object }} ?{% endblocktrans %}</p>
12
      <p>{% blocktrans %}Do you want to delete {{ model_name }} {{ object }}?{% endblocktrans %}</p>
13 13
      {% endblock %}
14 14
      <div class="buttons">
15 15
        <button class="delete-button">{% trans "Delete" %}</button>
src/authentic2/manager/templates/authentic2/manager/role_remove_admin_role.html
12 12
    {% csrf_token %}
13 13
    <div class="form-inner-container">
14 14
      {% block caption %}
15
      <p>{% blocktrans %}Do you want to remove admin role {{ child }} ?{% endblocktrans %}</p>
15
      <p>{% blocktrans %}Do you want to remove admin role {{ child }}?{% endblocktrans %}</p>
16 16
      {% endblock %}
17 17
      <div class="buttons">
18 18
        <button>{% trans "Remove" %}</button>
src/authentic2/manager/templates/authentic2/manager/role_remove_admin_user.html
12 12
    {% csrf_token %}
13 13
    <div class="form-inner-container">
14 14
      {% block caption %}
15
      <p>{% blocktrans %}Do you want to remove admin user {{ user }} ?{% endblocktrans %}</p>
15
      <p>{% blocktrans %}Do you want to remove admin user {{ user }}?{% endblocktrans %}</p>
16 16
      {% endblock %}
17 17
      <div class="buttons">
18 18
        <button>{% trans "Remove" %}</button>
src/authentic2/templates/authentic2/logout_confirm.html
10 10
{% endblock %}
11 11

  
12 12
{% block content %}
13
  <p>{% blocktrans %}You are going to do a global logout, do you want to continue ?{% endblocktrans %}
13
  <p>{% blocktrans %}You are going to do a global logout, do you want to continue?{% endblocktrans %}
14 14
  </p>
15 15
  <p>
16 16
    <form method="post">
src/authentic2/templates/interaction/consent_federation.html
10 10
<div id="consent">
11 11
<p>
12 12
{% if provider_id %}
13
{% trans "Do you accept to federate your account with " %} <strong>{{ provider_id }}</strong> ?
13
{% blocktrans with provider_id=provider_id %}
14
Do you accept to federate your account with <strong>{{ provider_id }}</strong>?
15
{% endblocktrans %}
14 16
{% else %}
15
{% trans "Do you accept to federate your account ?" %}
17
{% trans "Do you accept to federate your account?" %}
16 18
{% endif %}
17 19
{{ provider_id2 }}
18 20
</p>
src/authentic2_idp_oidc/templates/authentic2_idp_oidc/authorization.html
13 13
{% block content %}
14 14
<h2>{% trans "Authentication access check" %}</h2>
15 15
<form method="post" id="a2-oidc-authorization-form">
16
    <p>{% trans "Do you want to be authenticated on this service ?" %}</p>
16
    <p>{% trans "Do you want to be authenticated on this service?" %}</p>
17 17
    {% if needs_scope_validation %}
18 18
      <p>{% trans "The following informations will be sent to the service:" %}</p>
19 19
      <ul>
20
-