Commit 2085c036 authored by Michal Čihař's avatar Michal Čihař

Switch summaries on main page to tabs to be consistent with other pages

parent bc40f2fd
...@@ -42,13 +42,20 @@ ...@@ -42,13 +42,20 @@
<h2>{% trans "Summaries" %}</h2> <h2>{% trans "Summaries" %}</h2>
<h3>{% trans "Recent changes" %}</h3> <div class="tabs">
{% include "last-changes.html" %} <ul>
<li><a href="#changes">{% trans "Recent changes" %}</a></li>
<li><a href="#translators">{% trans "Most active translators" %}</a></li>
<li><a href="#suggesters">{% trans "Most active suggesters" %}</a></li>
<li><a href="#others">{% trans "Others" %}</a></li>
</ul>
<div class="floatbox"> <div id="changes">
<h3>{% trans "Most active translators" %}</h3> {% include "last-changes.html" %}
</div>
<div id="translators">
<table> <table>
<thead> <thead>
<tr> <tr>
...@@ -66,8 +73,7 @@ ...@@ -66,8 +73,7 @@
</table> </table>
</div> </div>
<div class="floatbox"> <div id="suggesters">
<h3>{% trans "Most active suggesters" %}</h3>
<table> <table>
<thead> <thead>
...@@ -86,14 +92,12 @@ ...@@ -86,14 +92,12 @@
</table> </table>
</div> </div>
<div class="clearer"></div> <div id="others">
<h3>{% trans "Others" %}</h3>
<ul> <ul>
<li><a href="{% url 'weblate.trans.views.show_languages' %}">{% trans "Languages summary" %}</a></li> <li><a href="{% url 'weblate.trans.views.show_languages' %}">{% trans "Languages summary" %}</a></li>
<li><a href="{% url 'weblate.trans.views.show_checks' %}">{% trans "Checks overview" %}</a></li> <li><a href="{% url 'weblate.trans.views.show_checks' %}">{% trans "Checks overview" %}</a></li>
</ul> </ul>
</div>
{% endblock %} {% endblock %}
......
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