Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make organisation stats retrieval async #337

Merged
17 changes: 5 additions & 12 deletions extlinks/common/templates/common/statistics_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,15 @@ <h4>Statistics</h4>
</tr>
<tr>
<td>Total added:</td>
<td style="text-align: right;">{{ collection.total_added }}</td>
<td id="{{ collection.collection_id }}-links-added" style="text-align: right;"></td>
</tr>
<tr>
<td>Total removed:</td>
<td style="text-align: right;">{{ collection.total_removed }}</td>
<td id="{{ collection.collection_id }}-links-removed" style="text-align: right;"></td>
</tr>
<tr style="line-height:55px;">
<td></td>
<td style="text-align: right; font-weight: bold;
{% if collection.total_diff > 0 %}
color: green;">+
{% else %}
color: red;">
{% endif %}
{{ collection.total_diff }}
</td>
<td id="{{ collection.collection_id }}-links-diff"></td>
</tr>
{% if collection.linksearch_total_start %}
<tr class="stat-table-header">
Expand Down Expand Up @@ -52,11 +45,11 @@ <h4>Statistics</h4>
</tr>
<tr>
<td>Total editors:</td>
<td style="text-align: right;">{{ collection.total_editors }}</td>
<td id="{{ collection.collection_id }}-total-editors" style="text-align: right;"></td>
</tr>
<tr>
<td>Total projects:</td>
<td style="text-align: right;">{{ collection.total_projects }}</td>
<td id="{{ collection.collection_id }}-total-projects" style="text-align: right;"></td>
</tr>
</table>
{% else %}
Expand Down
17 changes: 0 additions & 17 deletions extlinks/common/templates/common/top_pages_table.html

This file was deleted.

29 changes: 0 additions & 29 deletions extlinks/common/templates/common/top_projects_table.html

This file was deleted.

30 changes: 0 additions & 30 deletions extlinks/common/templates/common/top_users_table.html

This file was deleted.

Loading
Loading