{% extends "base.html" %} {% load i18n %} {% block header %} Booktype {% endblock %} {% block content %}

{% trans "Welcome to Booktype" %}

{% if request.user.is_authenticated %} {% else %}
{% include "account/form_signin.html" %}
{% include "account/form_register.html" %}
{% endif %}

{% trans "Recent activity" %}

{% for activity in activity_history %}
{{activity.user}}
{{ activity.user }}    {{ activity.modified|timesince}} {% trans "ago" %}
{% if activity.kind == 1 %} {% trans "Created new chapter" %} "{{activity.chapter.title}}".
#{{activity.book.url_title}}
{% endif %} {% if activity.kind == 10 %} {% trans "Created new book" %} "{{activity.book.title}}".
#{{activity.book.url_title}}
{% endif %}
{% endfor %}
{% endblock %}