mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: add PREM_VIEW_DISPLAYNAME (#410)
Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
1 parent
b9bc504917
commit
7ebbaacb2a
9 files changed
+40
-18
No files matched your search
@@ -24,7 +24,7 @@
|
||||
</td>
|
||||
<td class="col--submit-by">
|
||||
<a href="{{ url('user_detail', uid=rdoc.uid) }}">
|
||||
{% if udoc.displayName %}
|
||||
{% if handler.user.hasPerm(perm.PREM_VIEW_DISPLAYNAME) and udoc.displayName %}
|
||||
{{ udoc.displayName }} ({{ udoc.uname }})
|
||||
{% else %}
|
||||
{{ udoc.uname }}
|
||||
|
||||
Reference in new issue
Block a user