{% extends 'base.html.twig' %} {% import "user/actions.html.twig" as actions %} {% block page_title %}{% if not user.alias is empty %}{{ user.alias }}{% else %}{{ user.username }}{% endif %}{% endblock %} {% block page_subtitle %}{% if not user.alias is empty %}{{ user.username }}{% endif %}{% endblock %} {% block page_actions %}{{ actions.user(user, tab) }}{% endblock %} {% block main %}
{{ user.title }}
{{ 'stats.durationMonth'|trans }} | {{ stats.durationThisMonth|duration }} |
---|---|
{{ 'stats.amountMonth'|trans }} | {# TODO which currency shall we use here? #}{{ stats.amountThisMonth|money }} |
{{ 'stats.durationTotal'|trans }} | {{ stats.durationTotal|duration }} |
{{ 'stats.amountTotal'|trans }} | {# TODO which currency shall we use here? #}{{ stats.amountTotal|money }} |
{{ 'label.id'|trans }} | {{ user.id }} |
---|---|
{{ 'label.username'|trans }} | {{ user.username }} |
{{ 'profile.first_entry'|trans }} | {{ stats.firstEntry|date_short }} |
{{ 'profile.registration_date'|trans }} | {{ user.registeredAt|date_short }} |
{{ 'label.hourlyRate'|trans }} | {{ user.preferenceValue('hourly_rate') }} |