FiX: Update date url for thread oneboxes (#24172)
This commit is contained in:
parent
4ef3066af5
commit
6269134eed
|
@ -7,7 +7,12 @@
|
|||
</div>
|
||||
<div class="chat-transcript-username">{{username}}</div>
|
||||
<div class="chat-transcript-datetime">
|
||||
<a href="/chat/c/-/{{channel_id}}" title="{{created_at}}">{{created_at}}</a>
|
||||
{{#thread_id}}
|
||||
<a href="/chat/c/-/{{channel_id}}/t/{{thread_id}}/{{message_id}}" title="{{created_at}}">{{created_at}}</a>
|
||||
{{/thread_id}}
|
||||
{{^thread_id}}
|
||||
<a href="/chat/c/-/{{channel_id}}/{{message_id}}" title="{{created_at}}">{{created_at}}</a>
|
||||
{{/thread_id}}
|
||||
</div>
|
||||
<a class="chat-transcript-channel" href="/chat/c/-/{{channel_id}}">
|
||||
{{#is_category}}
|
||||
|
|
|
@ -93,7 +93,7 @@ describe Chat::OneboxHandler do
|
|||
</div>
|
||||
<div class="chat-transcript-username">#{user.username}</div>
|
||||
<div class="chat-transcript-datetime">
|
||||
<a href="/chat/c/-/#{public_channel.id}" title="#{public_message.created_at}">#{public_message.created_at}</a>
|
||||
<a href="/chat/c/-/#{public_channel.id}/#{public_message.id}" title="#{public_message.created_at}">#{public_message.created_at}</a>
|
||||
</div>
|
||||
<a class="chat-transcript-channel" href="/chat/c/-/#{public_channel.id}">
|
||||
<span class="category-chat-badge" style="color: ##{public_channel.chatable.color}">
|
||||
|
|
Loading…
Reference in New Issue