Browse Source

Fixes style. I18s table headers

pull/40/head
nonmakina 3 years ago
parent
commit
4eab810a3b
  1. 56
      templates/themes/categories/news.html

56
templates/themes/categories/news.html

@ -25,46 +25,46 @@
{% endif %}
</div>
{% if stats %}
<div class="ban post">
<div class="ban" style="border: none; background: none;">
<h2 id="post-statistics">
{% trans "Post Statistics" %}
</h2>
<table class="modlog" style="width: 50%; text-align: left;">
<thead>
<tr>
<th>Board</th>
<th>PPH</th>
<th>Recent IPs</th>
</tr>
</thead>
<tbody>
</div>
<table class="modlog" style="width: 50%; text-align: left;">
<thead>
<tr>
<th>{% trans "Board" %}</th>
<th>{% trans "PPH" %}</th>
<th>{% trans "Recent IPs" %}</th>
</tr>
</thead>
<tbody>
<tr>
<td class="minimal">
<span>{% trans "Total" %}</span>
</td>
<td class="minimal">
<span>{{ stats.pph }}</span>
</td>
<td class="minimal">
<span>{{ stats.recent_ips }}</span>
</td>
</tr>
{% for boardStat in stats.boards %}
<tr>
<td class="minimal">
<span>{% trans "Total" %}</span>
<span>{{ boardStat.title }}</span>
</td>
<td class="minimal">
<span>{{ stats.pph }}</span>
<span>{{ boardStat.pph }}</span>
</td>
<td class="minimal">
<span>{{ stats.recent_ips }}</span>
<span>{{ boardStat.recent_ips }}</span>
</td>
</tr>
{% for boardStat in stats.boards %}
<tr>
<td class="minimal">
<span>{{ boardStat.title }}</span>
</td>
<td class="minimal">
<span>{{ boardStat.pph }}</span>
</td>
<td class="minimal">
<span>{{ boardStat.recent_ips }}</span>
</td>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</table>
</div>
</table>
{% endif %}
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +

Loading…
Cancel
Save