{% extends "user_profile/user.html" %} {% from "macros.html" import timeago %} {% block layout_class %}{{ super() }} user-profile-activity{% endblock %} {% block profilesection %} {% trans %}activity{% endtrans %} {% endblock %} {% block usercontent %}
{{ timeago(act.time) }} | {{ act.type }} |
{% if act.is_badge %}
{{ act.badge.get_name() }}
{% if act.content_object.post_type == 'question' %}
{% set question=act.content_object %}
({% trans %}source{% endtrans %})
{% elif act.content_object.post_type == 'answer' %}
{% set answer=act.content_object %}
(
{% trans %}source{% endtrans %}
)
{% endif %}
{% else %}
{{ act.title|escape }}
{% if act.summary %} {{ act.summary }} {% endif %}
{% endif %}
|
{% trans %}There was no activity.{% endtrans %}
|