forum: use short names

Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
Skia
2017-05-31 23:56:47 +02:00
parent 11d20f43e5
commit f3c1ab4ae4
2 changed files with 9 additions and 5 deletions

View File

@ -2,6 +2,10 @@
<a href="{{ url("core:user_profile", user_id=user.id) }}">{{ user.get_display_name() }}</a>
{%- endmacro %}
{% macro user_profile_link_short_name(user) -%}
<a href="{{ url("core:user_profile", user_id=user.id) }}">{{ user.get_short_name() }}</a>
{%- endmacro %}
{% macro user_link_with_pict(user) -%}
<a href="{{ url("core:user_profile", user_id=user.id) }}" class="mini_profile_link" >
{{ user.get_mini_item()|safe }}