Skip to content

Commit

Permalink
Tweak how we show chat messages have been read
Browse files Browse the repository at this point in the history
  • Loading branch information
edwh committed Jul 21, 2018
1 parent da230f4 commit 18afebc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion http/template/chat/interested.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
<% if (obj.seenbyall) { %>
<span class="glyphicons glyphicons-tick success pull-right small" alt="Read" title="This has been seen." />
<% } else if (obj.mailedtoall) { %>
<span class="glyphicons glyphicons-envelope faded pull-right small" alt="Emailed" title="This has been sent by email." />
<span class="glyphicons glyphicons-envelope faded pull-right small" alt="Emailed" title="This has been sent by email but may not have been seen yet." />
<% } else { %>
<span class="glyphicons glyphicons-tick faded pull-right small" alt="Read" title="This has been sent but may not have been seen yet." />
<% } %>
<% } %>
<abbr class="chat-when botspace <% if (obj.left) { %>pull-left<% } else { %>pull-right<% } %> text-muted small timeago" title="{{date}}">{{timeago(date)}}</abbr>
Expand Down
4 changes: 3 additions & 1 deletion http/template/chat/message.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
<% if (obj.seenbyall) { %>
<span class="glyphicons glyphicons-tick success pull-right small" alt="Read" title="This has been seen." />
<% } else if (obj.mailedtoall) { %>
<span class="glyphicons glyphicons-envelope faded pull-right small" alt="Emailed" title="This has been sent by email." />
<span class="glyphicons glyphicons-envelope faded pull-right small" alt="Emailed" title="This has been sent by email but may not have been seen yet." />
<% } else { %>
<span class="glyphicons glyphicons-tick faded pull-right small" alt="Read" title="This has been sent but may not have been seen yet." />
<% } %>
<% } %>
<abbr class="chat-when botspace <% if (obj.left) { %>pull-left<% } else { %>pull-right<% } %> text-muted small timeago" title="{{date}}">{{timeago(date)}}</abbr>
Expand Down
4 changes: 3 additions & 1 deletion http/template/chat/nudge.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
<% if (obj.seenbyall) { %>
<span class="glyphicons glyphicons-tick success pull-right small" alt="Read" title="This has been seen." />
<% } else if (obj.mailedtoall) { %>
<span class="glyphicons glyphicons-envelope faded pull-right small" alt="Emailed" title="This has been sent by email." />
<span class="glyphicons glyphicons-envelope faded pull-right small" alt="Emailed" title="This has been sent by email but may not have been seen yet." />
<% } else { %>
<span class="glyphicons glyphicons-tick faded pull-right small" alt="Read" title="This has been sent but may not have been seen yet." />
<% } %>
<% } %>
<abbr class="chat-when botspace <% if (obj.left) { %>pull-left<% } else { %>pull-right<% } %> text-muted small timeago" title="{{date}}">{{timeago(date)}}</abbr>
Expand Down
4 changes: 3 additions & 1 deletion http/template/chat/scheduleupdated.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
<% if (obj.seenbyall) { %>
<span class="glyphicons glyphicons-tick success pull-right small" alt="Read" title="This has been seen." />
<% } else if (obj.mailedtoall) { %>
<span class="glyphicons glyphicons-envelope faded pull-right small" alt="Emailed" title="This has been sent by email." />
<span class="glyphicons glyphicons-envelope faded pull-right small" alt="Emailed" title="This has been sent by email but may not have been seen yet." />
<% } else { %>
<span class="glyphicons glyphicons-tick faded pull-right small" alt="Read" title="This has been sent but may not have been seen yet." />
<% } %>
<% } %>
<abbr class="chat-when botspace <% if (obj.left) { %>pull-left<% } else { %>pull-right<% } %> text-muted small timeago" title="{{date}}">{{timeago(date)}}</abbr>
Expand Down

0 comments on commit 18afebc

Please sign in to comment.