mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: support @[user]()
This commit is contained in:
1 parent
b272598685
commit
c5b2552f59
8 files changed
+48
-13
No files matched your search
@@ -5,7 +5,7 @@
|
||||
<img class="small user-profile-avatar v-center" src="{{ avatarUrl(udoc.avatar|default('')) }}" width="20" height="20">
|
||||
{% endif %}
|
||||
<a class="user-profile-name" href="{{ url('user_detail', uid=udoc._id) }}">
|
||||
{% if udoc.displayName %}
|
||||
{% if udoc.displayName and udoc.displayName != udoc.uname %}
|
||||
{{ udoc.displayName }} ({{ udoc.uname }})
|
||||
{% else %}
|
||||
{{ udoc.uname }}
|
||||
|
||||
Reference in new issue
Block a user