mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
fixed #154 消息跳转没有直接跳转到回复
This commit is contained in:
parent
789f27d42c
commit
a99ab6a549
@ -7,14 +7,14 @@
|
||||
<span>
|
||||
<a href="/user/<%= message.author.name %>" target='_blank'><%= message.author.name %></a>
|
||||
回复了你的话题
|
||||
<a href="/topic/<%= message.topic._id %>" target='_blank'><%= message.topic.title %></a>
|
||||
<a href="/topic/<%- message.topic._id + (message.reply ? '#' + message.reply._id : '') %>" target='_blank'><%= message.topic.title %></a>
|
||||
</span>
|
||||
<% } %>
|
||||
<% if(message.type == 'reply2'){ %>
|
||||
<span>
|
||||
<a href="/user/<%= message.author.name %>" target='_blank'><%= message.author.name %></a>
|
||||
在话题
|
||||
<a href="/topic/<%= message.topic._id %>" target='_blank'><%= message.topic.title %></a>
|
||||
<a href="/topic/<%= message.topic._id + (message.reply ? '#' + message.reply._id : '') %>" target='_blank'><%= message.topic.title %></a>
|
||||
中回复了你的回复
|
||||
</span>
|
||||
<% } %>
|
||||
@ -28,7 +28,7 @@
|
||||
<span>
|
||||
<a href="/user/<%= message.author.name %>" target='_blank'><%= message.author.name %></a>
|
||||
在话题
|
||||
<a href="/topic/<%= message.topic._id %>" target='_blank'><%= message.topic.title %></a>
|
||||
<a href="/topic/<%= message.topic._id + (message.reply ? '#' + message.reply._id : '') %>" target='_blank'><%= message.topic.title %></a>
|
||||
中@了你
|
||||
</span>
|
||||
<% } %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user