[damned-lies] Remove extraneous colon



commit 3670b49ed423683430887801b5c99dcef48bf0a1
Author: Alexandre Franke <alexandre franke gmail com>
Date:   Mon Jun 1 15:07:28 2015 +0200

    Remove extraneous colon
    
    The new Django version already adds a colon for us

 stats/templatetags/stats_extras.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/templatetags/stats_extras.py b/stats/templatetags/stats_extras.py
index 1082bdc..81711da 100644
--- a/stats/templatetags/stats_extras.py
+++ b/stats/templatetags/stats_extras.py
@@ -231,7 +231,7 @@ def as_tr(field):
         errors = u''.join(["<li>%s</li>" % err for err in field.errors])
         errors_html = u'<ul class="errorlist">%s</ul>' % errors
 
-    return mark_safe(u'<tr class="tr_%s"><th>%s:</th><td>%s%s%s%s</td></tr>' % (
+    return mark_safe(u'<tr class="tr_%s"><th>%s</th><td>%s%s%s%s</td></tr>' % (
         field.name, field.label_tag(), errors_html, field.as_widget(), help_link, help_html)
     )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]