_display-name.html 385 Bytes
Newer Older
1 2
{% load i18n %}

Kálmán Viktor committed
3
{% if user and user.pk %}
4
  {% if user.get_full_name %}{{ user.get_full_name }}{% else %}{{ user.username }}{% endif %}{% if new_line %}<br />{% endif %}
Kálmán Viktor committed
5 6 7 8 9 10 11

  {% if show_org %}
    {% if user.profile and user.profile.org_id %}
      ({{ user.profile.org_id }})
    {% else %}
      ({% trans "username" %}: {{ user.username }})
    {% endif %}
12
  {% endif %}
13
{% endif %}