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">
|
||||
{{ $room := (index $.Rooms $.ActiveRoomID) }}
|
||||
{{template "chat-profile-image" $room}}
|
||||
{{if (ne $room.Type "ONE_TO_ONE")}}
|
||||
<!-- Group chats need an "Info" button -->
|
||||
<a class="button">
|
||||
<img class="svg-icon" src="/static/icons/info.svg" width="24" height="24" />
|
||||
<div class="chat-header__buttons-container row">
|
||||
{{if (ne $room.Type "ONE_TO_ONE")}}
|
||||
<!-- Group chats need an "Info" button -->
|
||||
<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>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="chat-messages">
|
||||
|
Loading…
x
Reference in New Issue
Block a user