Browse Source

Rename "bien" → "matériel et frais d'accès"

Jocelyn Delande 9 years ago
parent
commit
7293ec67be
3 changed files with 7 additions and 7 deletions
  1. 3 3
      costs/models.py
  2. 1 1
      costs/templates/costs/index.html
  3. 3 3
      costs/templates/costs/resources_list.html

+ 3 - 3
costs/models.py

@@ -271,8 +271,8 @@ class GoodUse(AbstractUse):
     resource = models.ForeignKey(Good)
 
     class Meta:
-        verbose_name = 'Bien utilisé'
-        verbose_name_plural = 'Biens utilisés'
+        verbose_name = "Matériel ou frais d'accès utilisé"
+        verbose_name_plural = "Matériels et frais d'accès utilisés"
 
     def monthly_provision_share(self):
         return (
@@ -303,7 +303,7 @@ class Service(AbstractResource):
         Good,
         through=GoodUse,
         related_name='using_services',
-        verbose_name='biens utilisés')
+        verbose_name="matériels et frais d'accès utilisés")
 
     subscriptions_count = models.PositiveIntegerField(
         "Nombre d'abonnements",

+ 1 - 1
costs/templates/costs/index.html

@@ -3,6 +3,6 @@
 <nav>
   <ul>
     <li><a href="services">Services</a> (proposés par l'association)</li>
-    <li><a href="resources">Ressources</a> (biens & coûts récurents)</li>
+    <li><a href="resources">Ressources</a> (matériels, frais d'accès & coûts récurents)</li>
   </ul>
 </nav>

+ 3 - 3
costs/templates/costs/resources_list.html

@@ -1,4 +1,4 @@
-<h1>Coûts récurents & matériel amorti</h1>
+<h1>Coûts récurents et amortissement</h1>
 
 {% if costs.count > 0 %}
 
@@ -17,7 +17,7 @@
 
 {% if goods.count > 0 %}
 
-<h2>Matériel amorti</h2>
+<h2>Matériel et frais d'accès amortis</h2>
 <ul>
   {% for i in goods %}
   <li>{{ i.name }}</li>
@@ -26,6 +26,6 @@
 
 {% else %}
 
-<p>Pas de biens définis pour l'instant</p>
+<p>Pas de matériels ni frais d'accès définis pour l'instant</p>
 
 {% endif %}