]> git.parisson.com Git - teleforma.git/commitdiff
fix postal code
authoryomguy <yomguy@parisson.com>
Tue, 10 Apr 2012 22:18:43 +0000 (00:18 +0200)
committeryomguy <yomguy@parisson.com>
Tue, 10 Apr 2012 22:18:43 +0000 (00:18 +0200)
teleforma/management/commands/teleforma-export-users.py
teleforma/templates/telemeta/inc/user_list.html

index 630249551357eddba748efa725c14e850ec13fd4..57997a1a94a8c527860267bb145dc180386f6f11 100644 (file)
@@ -38,7 +38,7 @@ class Command(BaseCommand):
             if profile:
                 profile = Profile.objects.get(user=user)
                 row.write(10, profile.address)
-                row.write(11, int(profile.postal_code))
+                row.write(11, profile.postal_code)
                 row.write(12, profile.city)
                 row.write(13, profile.telephone)
                 row.write(14, profile.date_added.strftime("%d/%m/%Y"))
index 7e14b44db1206ad1055d1571fbb333f82ef17979..d03386d6423ecdcaf53cd6f6138ecbdc934c6adc 100644 (file)
@@ -55,7 +55,7 @@
         <td></td>
 
     {% endif %}
-    <td><a href="{% url postman_write user.username %}" class="component_icon button" id="action_green">{% trans "Write" %}</a></td>
+    <td><a href="{% url postman_write user.username %}" class="component_icon button" id="action_green">{% trans "Message" %}</a></td>
     </tr>
     {% endfor %}
     </tbody>