Commit 45ba5831 by Ibrahim Awwal

Hide usernames for anonymous posts.

parent a49b6380
......@@ -26,7 +26,9 @@
<h1>${'<%- title %>'}</h1>
<p class="posted-details">
<span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span> by
${"<% if (!obj.anonymous) { %>"}
<a href="${'<%- user_url %>'}">${'<%- username %>'}</a>
${"<% } else {print('anonymous');} %>"}
<span class="post-status-closed top-post-status" style="display: none">
&bull; This thread is closed.
</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment