Add tooltips to buttons appearing when message is not delivered.

This commit is contained in:
aakash-cr7 2016-11-22 11:56:38 +05:30 committed by Tim Abbott
parent 0525b65f90
commit 79b4ac8155
3 changed files with 4 additions and 1 deletions

View File

@ -539,6 +539,7 @@ $(function () {
$('#streams_header i[data-toggle="tooltip"]').tooltip({ placement: 'left',
animation: false });
$('.message_failed i[data-toggle="tooltip"]').tooltip();
if (!page_params.realm_allow_message_editing) {
$("#edit-message-hotkey-help").hide();

View File

@ -1095,6 +1095,8 @@ just a temporary hack.
font-weight: bold;
color: red;
padding: 0px 1px 0px 1px;
position: relative;
left: 29px;
}
.message_failed i {

View File

@ -43,7 +43,7 @@
<i class="icon-vector-chevron-down"></i>
</div>
<div class="message_failed {{#unless msg.failed_request}}notvisible{{/unless}}">
<span class="failed_text">Not delivered </span><i class="icon-vector-refresh refresh-failed-message"></i><i class="icon-vector-pencil edit-failed-message"></i><i class="icon-vector-remove-sign remove-failed-message"></i>
<i class="icon-vector-refresh refresh-failed-message" data-toggle="tooltip" title="Not Delivered: Resend"></i><i class="icon-vector-pencil edit-failed-message" data-toggle="tooltip" title="Not Delivered: Edit"></i><i class="icon-vector-remove-sign remove-failed-message" data-toggle="tooltip" title="Not Delivered: Delete"></i>
</div>
</div>
</div>