-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Tasso Evangelista <tasso.evangelista@rocket.chat>
- Loading branch information
Showing
31 changed files
with
1,168 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
<template name="thread"> | ||
<section class="contextual-bar__content flex-tab threads dropzone {{dragAndDrop}} {{hideUsername}}"> | ||
<div class="dropzone-overlay {{isDropzoneDisabled}} background-transparent-darkest color-content-background-color">{{_ dragAndDropLabel}}</div> | ||
<div class="dropzone-overlay {{isDropzoneDisabled}} background-transparent-darkest color-content-background-color"> | ||
{{_ dragAndDropLabel}} | ||
</div> | ||
<div class="thread-list js-scroll-thread"> | ||
<ul class="thread"> | ||
{{#with _messageContext}} | ||
{{#if isLoading}} | ||
<li class="load-more"> | ||
{{> loading}} | ||
</li> | ||
{{else}} | ||
{{#if mainMessage }} | ||
{{> message groupable=false hideRoles=true msg=mainMessage room=room subscription=subscription settings=settings templatePrefix='thread-' customClass=customClassMain u=u ignored=false shouldCollapseReplies=true chatContext=chatContext messageContext=messageContext}} | ||
{{/if}} | ||
{{#each msg in messages}} | ||
{{> message hideRoles=true msg=msg room=room shouldCollapseReplies=true subscription=subscription settings=settings templatePrefix='thread-' customClass=(customClass msg) u=u context="threads" chatContext=chatContext messageContext=messageContext}} | ||
{{/each}} | ||
{{/if}} | ||
{{/with}} | ||
{{#with _messageContext}} {{#if isLoading}} | ||
<li class="load-more">{{> loading}}</li> | ||
{{else}} {{#if mainMessage }} {{> message groupable=false hideRoles=true msg=mainMessage room=room subscription=subscription | ||
settings=settings templatePrefix='thread-' customClass=customClassMain u=u ignored=false shouldCollapseReplies=true | ||
chatContext=chatContext messageContext=messageContext}} {{/if}} {{#each msg in messages}} {{> message hideRoles=true msg=msg | ||
room=room shouldCollapseReplies=true subscription=subscription settings=settings templatePrefix='thread-' customClass=(customClass | ||
msg) u=u context="threads" chatContext=chatContext messageContext=messageContext}} {{/each}} {{/if}} {{/with}} | ||
</ul> | ||
</div> | ||
{{> messageBox messageBoxData}} | ||
<footer class="thread-footer"> | ||
{{#with checkboxData }} | ||
<div style="display: flex;"> | ||
{{> Checkbox . }} | ||
<div class="thread-footer__wrapper"> | ||
<div class="thread-footer__row"> | ||
{{#with checkboxData }} | ||
<div style="display: flex; flex-direction: row"> | ||
<div>{{> Checkbox . }}</div> | ||
<label for="sendAlso" class="thread-footer__text">{{ _ "Also_send_to_channel" }}</label> | ||
</div> | ||
{{/with}} | ||
</div> | ||
{{/with}} | ||
<label for="sendAlso" class="thread-footer__text">{{ _ "Also_send_to_channel" }}</label> | ||
<div class="thread-footer__row">{{> messageBox messageBoxData}}</div> | ||
</div> | ||
</footer> | ||
</section> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.