Add open-in-external button to DM headers
This commit is contained in:
parent
ca4d11cb05
commit
73e608069c
@ -99,12 +99,17 @@
|
|||||||
<div class="chat-header">
|
<div class="chat-header">
|
||||||
{{ $room := (index $.Rooms $.ActiveRoomID) }}
|
{{ $room := (index $.Rooms $.ActiveRoomID) }}
|
||||||
{{template "chat-profile-image" $room}}
|
{{template "chat-profile-image" $room}}
|
||||||
{{if (ne $room.Type "ONE_TO_ONE")}}
|
<div class="chat-header__buttons-container row">
|
||||||
<!-- Group chats need an "Info" button -->
|
{{if (ne $room.Type "ONE_TO_ONE")}}
|
||||||
<a class="button">
|
<!-- Group chats need an "Info" button -->
|
||||||
<img class="svg-icon" src="/static/icons/info.svg" width="24" height="24" />
|
<a class="button">
|
||||||
|
<img class="svg-icon" src="/static/icons/info.svg" width="24" height="24" />
|
||||||
|
</a>
|
||||||
|
{{end}}
|
||||||
|
<a class="button" href="https://twitter.com/messages/{{ $room.ID }}" target="_blank">
|
||||||
|
<img class="svg-icon" src="/static/icons/external-link.svg" width="24" height="24" />
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="chat-messages">
|
<div class="chat-messages">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user