[damned-lies] Added Statistics column to translator's profile



commit 24466247f28387ba7ee0e94017a468c7f3acdced
Author: Daniel Mustieles <daniel mustieles gmail com>
Date:   Thu Jan 2 14:25:18 2014 +0100

    Added Statistics column to translator's profile

 templates/people/person_detail.html |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/templates/people/person_detail.html b/templates/people/person_detail.html
index 308ca38..d4e841f 100644
--- a/templates/people/person_detail.html
+++ b/templates/people/person_detail.html
@@ -11,7 +11,7 @@ $(document).ready(function()
         $("#working_on").tablesorter({
             headers: {
                 0: { sorter:'text' },
-                2: { sorter:false }
+                3: { sorter:false }
             },
             sortList: [[0,0]] });
     }
@@ -62,13 +62,14 @@ $(document).ready(function()
 
 <table class="stats" id="working_on" name="working_on">
 <thead><tr>
-  <th>{% trans "Date" %}</th><th>{% trans "Module" %}</th><th>{% trans "Graph" %}</th><th>{% trans "State" 
%}</th>
+  <th>{% trans "Date" %}</th><th>{% trans "Module" %}</th><th>{% trans "Statistics" %}</th><th>{% trans 
"Graph" %}</th><th>{% trans "State" %}</th>
 </tr></thead>
 <tbody>
 {% for state, stats in states %}
 <tr id="{{ state.id }}{% if stats.tr_percentage == 100 %}-complete{% endif %}">
   <td><span style="display: none;">{{ state.updated|date:"c" }}</span>{{ 
state.updated|naturalday:"DATE_FORMAT" }}</td>
   <td><a href="{{ state.get_absolute_url }}">{{ state.branch.module.get_description }} - {{ 
state.branch.name }} - {{ state.domain.get_description }} - {{ state.language.get_name }}</a></td>
+  <td>{{ stats.tr_percentage|default:"0" }}%</td>
   <td><div class="graph">{{ stats|vis_stats }}</div></td>
   <td>{{ state.description }}</td>
 </tr>


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