Commit 24466247 authored by Daniel Mustieles García's avatar Daniel Mustieles García Committed by Claude Paroz

Added Statistics column to translator's profile

parent c1bff71a
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment