<divclass="panel-heading"><h4class="panel-title">{% trans "Your translations" %}</h4></div>
<divclass="panel-body">
{% if usertranslations %}
{% with usertranslations as translations and 2 as show_language and user.profile.hide_completed as hide_completed %}
{% include "list-translations.html" %}
...
...
@@ -58,20 +56,15 @@
{% else %}
<pclass="help-block">{% trans "Choose your languages in preferences and you will get an overview here of available translations for those languages." %}</p>
{% endif %}
</div>
<divclass="panel-footer">
<aclass="btn btn-default"href="{% url 'profile' %}#languages">{% trans "Manage your translations" %}</a>
</div>
</div>
<p><aclass="btn btn-default"href="{% url 'profile' %}#languages">{% trans "Manage your translations" %}</a></p>
</div>
<divclass="tab-pane"id="projects">
{% else %}
<divclass="tab-pane active"id="projects">
{% endif %}
<divclass="panel panel-primary">
<divclass="panel-heading"><h4class="panel-title">{% trans "Projects" %}</h4></div>
<divclass="panel-body">
<tableclass="sort table">
<thead>
<tr>
...
...
@@ -91,20 +84,21 @@
</tbody>
</table>
<p>
{% include "legend.html" %}
</p>
</div>
{% if offer_hosting %}
<divclass="panel-footer">
<aclass="btn btn-default"href="{% url 'hosting' %}">{% trans "Ask for project hosting" %}</a>
</div>
<p><aclass="btn btn-default"href="{% url 'hosting' %}">{% trans "Ask for project hosting" %}</a>
{% endif %}
</div>
</div>
<divclass="tab-pane"id="search">
{% include "search-form.html" %}
<formaction="{% url 'search' %}"method="GET">
{{ search_form|crispy }}
<inputtype="submit"value="{% trans "Search"%}"class="btn btn-default"/>
</form>
</div>
...
...
@@ -165,7 +159,8 @@
</div>
<divclass="tab-pane"id="history">
{% include "last-changes.html" %}
{% include "last-changes-content.html" %}
<aclass="btn btn-link"href="{% url 'changes' %}?{{ last_changes_url }}">{% trans "Browse all changes" %}</a>