mirror of https://github.com/zulip/zulip.git
Add tooltips to buttons appearing when message is not delivered.
This commit is contained in:
parent
0525b65f90
commit
79b4ac8155
|
@ -539,6 +539,7 @@ $(function () {
|
||||||
$('#streams_header i[data-toggle="tooltip"]').tooltip({ placement: 'left',
|
$('#streams_header i[data-toggle="tooltip"]').tooltip({ placement: 'left',
|
||||||
animation: false });
|
animation: false });
|
||||||
|
|
||||||
|
$('.message_failed i[data-toggle="tooltip"]').tooltip();
|
||||||
|
|
||||||
if (!page_params.realm_allow_message_editing) {
|
if (!page_params.realm_allow_message_editing) {
|
||||||
$("#edit-message-hotkey-help").hide();
|
$("#edit-message-hotkey-help").hide();
|
||||||
|
|
|
@ -1095,6 +1095,8 @@ just a temporary hack.
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: red;
|
color: red;
|
||||||
padding: 0px 1px 0px 1px;
|
padding: 0px 1px 0px 1px;
|
||||||
|
position: relative;
|
||||||
|
left: 29px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message_failed i {
|
.message_failed i {
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<i class="icon-vector-chevron-down"></i>
|
<i class="icon-vector-chevron-down"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="message_failed {{#unless msg.failed_request}}notvisible{{/unless}}">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue