{% extends "cranefly/layout.html" %} {% load i18n %} {% load humanize %} {% load url from future %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(profile.username) }}{% endblock %} {% block container %}
{% endblock %} {% block content %}{% if profile.title or profile.rank.title %}{% if profile.title %}{{ _(profile.title) }}{% elif profile.rank.title %}{{ _(profile.rank.title) }}{% endif %};{% endif %} {% if online and (not hidden or acl.users.can_see_hidden_users()) %}{% if profile.hide_activity -%} {% trans %}Online, hidden{% endtrans %} {%- else -%} {% trans %}Online{% endtrans %} {%- endif %}{% else %}{% trans %}Offline{% endtrans %}{% endif %} {% if not hidden or acl.users.can_see_hidden_users() -%} {%- if online -%} {% trans last_click=online|reltimesince|low %}Last click {{ last_click }}{% endtrans %} {%- elif profile.last_date -%} {% trans last_visit=profile.last_date|reltimesince|low %}Last seen {{ last_visit }}{% endtrans %} {%- else -%} {% trans %}Never visited{% endtrans %} {%- endif -%} {%- else -%} {% trans %}Hiding activity{% endtrans %} {%- endif %}