Browse Source

Add relevant <title> tag to all pages

Jocelyn Delalande 6 years ago
parent
commit
6f10ae6033
27 changed files with 53 additions and 17 deletions
  1. 2 0
      coin/billing/templates/billing/invoice.html
  2. 1 0
      coin/members/templates/members/contact.html
  3. 2 0
      coin/members/templates/members/detail.html
  4. 2 0
      coin/members/templates/members/index.html
  5. 2 0
      coin/members/templates/members/invoices.html
  6. 2 0
      coin/members/templates/members/registration/activate.html
  7. 2 0
      coin/members/templates/members/registration/activation_complete.html
  8. 2 0
      coin/members/templates/members/registration/login.html
  9. 3 0
      coin/members/templates/members/registration/password_change_base.html
  10. 1 3
      coin/members/templates/members/registration/password_change_done.html
  11. 3 2
      coin/members/templates/members/registration/password_change_form.html
  12. 3 0
      coin/members/templates/members/registration/password_reset_base.html
  13. 1 1
      coin/members/templates/members/registration/password_reset_complete.html
  14. 1 1
      coin/members/templates/members/registration/password_reset_confirm.html
  15. 2 1
      coin/members/templates/members/registration/password_reset_done.html
  16. 1 1
      coin/members/templates/members/registration/password_reset_form.html
  17. 3 0
      coin/members/templates/members/registration/registration_base.html
  18. 1 1
      coin/members/templates/members/registration/registration_closed.html
  19. 1 1
      coin/members/templates/members/registration/registration_complete.html
  20. 2 1
      coin/members/templates/members/registration/registration_form.html
  21. 2 0
      coin/members/templates/members/subscriptions.html
  22. 3 1
      hardware_provisioning/templates/hardware_provisioning/item_borrow.html
  23. 2 1
      hardware_provisioning/templates/hardware_provisioning/item_list.html
  24. 2 0
      hardware_provisioning/templates/hardware_provisioning/list.html
  25. 3 1
      hardware_provisioning/templates/hardware_provisioning/return.html
  26. 3 1
      hardware_provisioning/templates/hardware_provisioning/transfer.html
  27. 1 1
      vpn/templates/vpn/vpn.html

+ 2 - 0
coin/billing/templates/billing/invoice.html

@@ -1,5 +1,7 @@
 {% extends "base.html" %}
 
+{% block title %}Facture N°{{ invoice.number }} - {{ block.super }}{% endblock %}
+
 {% block content %}
 <div class="row">
     <div class="large-8 columns">

+ 1 - 0
coin/members/templates/members/contact.html

@@ -1,4 +1,5 @@
 {% extends "base.html" %}
+{% block title %}Contact / Support - {{ block.super }}{% endblock %}
 
 {% block content %}
 <div class="row">

+ 2 - 0
coin/members/templates/members/detail.html

@@ -1,5 +1,7 @@
 {% extends "base.html" %}
 
+{% block title %}Mes informations - {{ block.super }}{% endblock %}
+
 {% block content %}
 <div class="row">
     <div class="large-12 columns">

+ 2 - 0
coin/members/templates/members/index.html

@@ -1,5 +1,7 @@
 {% extends "base.html" %}
 
+{% block title %}Tableau de bord - {{ block.super }}{% endblock %}
+
 {% block content %}
 <div class="row">
     <div class="large-12 columns">

+ 2 - 0
coin/members/templates/members/invoices.html

@@ -1,5 +1,7 @@
 {% extends "base.html" %}
 
+{% block title %}Factures & paiements - {{ block.super }}{% endblock %}
+
 {% block content %}
 
 {% if handle_balance %}

+ 2 - 0
coin/members/templates/members/registration/activate.html

@@ -1,6 +1,8 @@
 {% extends "base.html" %}
 {% load i18n %}
 
+{% block title %}Activation échouée - {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <p>L'activation de votre compte a échoué ou ce dernier a déjà été activé.</p>

+ 2 - 0
coin/members/templates/members/registration/activation_complete.html

@@ -1,6 +1,8 @@
 {% extends "base.html" %}
 {% load i18n %}
 
+{% block title %}Compte créé - {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <h2>Compte adhérent créé</h2>

+ 2 - 0
coin/members/templates/members/registration/login.html

@@ -1,6 +1,8 @@
 {% extends "base.html" %}
 {% load i18n %}
 
+{% block title %}Connexion - {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <div class="row">

+ 3 - 0
coin/members/templates/members/registration/password_change_base.html

@@ -0,0 +1,3 @@
+{% extends "base.html" %}
+
+{% block title %}Modification du mot de passe - {{ block.super }}{% endblock %}

+ 1 - 3
coin/members/templates/members/registration/password_change_done.html

@@ -1,8 +1,6 @@
-{% extends "base.html" %}
+{% extends "members/registration/password_change_base.html" %}
 {% load i18n %}
 
-{% block title %}{% trans 'Password change successful' %}{% endblock %}
-
 {% block content %}
 <div class="row">
     <div class="large-12 columns">

+ 3 - 2
coin/members/templates/members/registration/password_change_form.html

@@ -1,4 +1,5 @@
-{% extends "base.html" %}
+{% extends "members/registration/password_change_base.html" %}
+
 {% load i18n static %}
 
 {% block content %}
@@ -45,4 +46,4 @@
 
 <script type="text/javascript">document.getElementById("id_old_password").focus();</script>
 
-{% endblock %}
+{% endblock %}

+ 3 - 0
coin/members/templates/members/registration/password_reset_base.html

@@ -0,0 +1,3 @@
+{% extends "base.html" %}
+
+{% block title %}Ré-initialisation du mot de passe - {{ block.super }}{% endblock %}

+ 1 - 1
coin/members/templates/members/registration/password_reset_complete.html

@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "members/registration/password_reset_base.html" %}
 {% load i18n %}
 
 {% block content %}

+ 1 - 1
coin/members/templates/members/registration/password_reset_confirm.html

@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "members/registration/password_reset_base.html" %}
 {% load i18n %}
 
 {% block content %}

+ 2 - 1
coin/members/templates/members/registration/password_reset_done.html

@@ -1,4 +1,5 @@
-{% extends "base.html" %}
+{% extends "members/registration/password_reset_base.html" %}
+
 {% load i18n %}
 
 {% block content %}

+ 1 - 1
coin/members/templates/members/registration/password_reset_form.html

@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "members/registration/password_reset_base.html" %}
 {% load staticfiles %}
 {% load i18n %}
 

+ 3 - 0
coin/members/templates/members/registration/registration_base.html

@@ -0,0 +1,3 @@
+{% extends "base.html" %}
+
+{% block title %}Création de compte - {{ block.super }}{% endblock %}

+ 1 - 1
coin/members/templates/members/registration/registration_closed.html

@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "members/registration/registration_base.html" %}
 {% load i18n %}
 
 {% block content %}

+ 1 - 1
coin/members/templates/members/registration/registration_complete.html

@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "members/registration/registration_base.html" %}
 {% load i18n %}
 
 {% block content %}

+ 2 - 1
coin/members/templates/members/registration/registration_form.html

@@ -1,4 +1,5 @@
-{% extends "base.html" %}
+{% extends "members/registration/registration_base.html" %}
+
 {% load i18n %}
 
 {% block content %}

+ 2 - 0
coin/members/templates/members/subscriptions.html

@@ -1,5 +1,7 @@
 {% extends "base.html" %}
 
+{% block title %}Mes abonnements - {{ block.super }}{% endblock %}
+
 {% block content %}
 <h2>Mes abonnements</h2>
 

+ 3 - 1
hardware_provisioning/templates/hardware_provisioning/item_borrow.html

@@ -1,5 +1,7 @@
 {% extends 'hardware_provisioning/base.html' %}
 
+{% block title %}Confirmation d'emprunt - {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <p>Je déclare emprunter le matériel <strong>{{item }} ({{ item.type }}</strong>) à compter de ce jour.</p>
@@ -11,4 +13,4 @@
            value="Oui oui, c'est bien ça."/>
 </form>
 
-{% endblock %}
+{% endblock %}

+ 2 - 1
hardware_provisioning/templates/hardware_provisioning/item_list.html

@@ -1,5 +1,6 @@
 {% extends "hardware_provisioning/base.html" %}
 
+{% block title %}Emprunt d'objet - {{ block.super }}{% endblock %}
 {% block content %}
 <h2>J'emprunte à l'association…</h2>
 
@@ -35,4 +36,4 @@
     </tbody>
 
 </table>
-{% endblock %}
+{% endblock %}

+ 2 - 0
hardware_provisioning/templates/hardware_provisioning/list.html

@@ -1,5 +1,7 @@
 {% extends "hardware_provisioning/base.html" %}
 
+{% block title %}Mon matériel - {{ block.super }}{% endblock %}
+
 {% block content %}
 {% if view  == 'old' %}
 <h2>L'association m'a prêté…</h2>

+ 3 - 1
hardware_provisioning/templates/hardware_provisioning/return.html

@@ -1,5 +1,7 @@
 {% extends "hardware_provisioning/base.html" %}
 
+{% block title %}Retour de matériel - {{ block.super }}{% endblock %}
+
 {% block content %}
 <h2>Retour de matériel</h2>
 <p>
@@ -10,4 +12,4 @@
   <input class="success button" type="submit"
          value="Oui oui, c'est bien ça."/>
 </form>
-{% endblock %}
+{% endblock %}

+ 3 - 1
hardware_provisioning/templates/hardware_provisioning/transfer.html

@@ -1,5 +1,7 @@
 {% extends "hardware_provisioning/base.html" %}
 
+{% block title %}Transfert de matériel - {{ block.super }}{% endblock %}
+
 {% block content %}
 <h2>Transfert de matériel</h2>
 <p>
@@ -15,4 +17,4 @@
   <input class="success button" type="submit"
          value="Oui oui, c'est bien ça."/>
 </form>
-{% endblock %}
+{% endblock %}

+ 1 - 1
vpn/templates/vpn/vpn.html

@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% load subnets %}
-
+{% block title %}Configuration du VPN {{ object.offersubscription.get_subscription_reference }} - {{ block.super }}{% endblock %}
 {% block content %}
 <div class="row">
     <h2>Configuration du VPN</h2>