Skip to content
Snippets Groups Projects
Commit e04a4eff authored by John Xina's avatar John Xina
Browse files

user show_name to avoid blank name

parent d9a4e79a
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@
{% endif %}
</div>
<div class="participants">
<div>🧑<a href="">{{ t.user.user_name }}</a></div>
<div>🧑<a href="">{{ t.user.show_name }}</a></div>
<!-- <div>💬<a href=""> API UNAVAILABLE </a></div> -->
</div>
</div>
......
......@@ -32,7 +32,7 @@
</div>
<div>
<div class="userinfo">
<a href="/home/main?id={{ p.user.user_id }}">{{ p.user.user_name }}</a>
<a href="/home/main?id={{ p.user.user_id }}">{{ p.user.show_name }}</a>
{% if p.is_thread_author %}
<span class="tag tag-blue">楼主</span>
{% endif %}
......@@ -49,7 +49,7 @@
<img class="avatar" src="/proxy/avatar/{{ comment.user.portrait }}">
<div>
<div class="userinfo">
<a href="/home/main?id={{ comment.user.user_id }}">{{ comment.user.user_name }}</a>
<a href="/home/main?id={{ comment.user.user_id }}">{{ comment.user.show_name }}</a>
</div>
<div class="content">
{{ comment.contents|translate(comment.reply_to_id)|safe }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment