Multiple bugfixes
This commit is contained in:
parent
c9698e125a
commit
cc7493e3d3
@ -523,8 +523,8 @@
|
||||
|
||||
"message_forwarded_message": "Forwarded message",
|
||||
"message_via_bot": "via {bot}",
|
||||
"message_forwarded_message_mobile": "Forwarded from {from}, {date}",
|
||||
"message_forwarded_via_message_mobile": "Forwarded from {from} via {bot}, {date}",
|
||||
"message_forwarded_message_mobile": "Forwarded from {from}",
|
||||
"message_forwarded_via_message_mobile": "Forwarded from {from} via {bot}",
|
||||
|
||||
"message_attach_audio_message": "Voice message",
|
||||
"message_attach_audio_play": "Play",
|
||||
|
@ -1456,15 +1456,24 @@ a.im_dialog_selected {
|
||||
padding: 4px 10px;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.im_message_author,
|
||||
.im_message_fwd_author,
|
||||
.im_message_via_author {
|
||||
.im_message_fwd_author {
|
||||
color: #3a6d99;
|
||||
font-weight: bold;
|
||||
}
|
||||
.non_osx .im_message_author,
|
||||
.non_osx .im_message_fwd_author,
|
||||
.non_osx .im_message_via_author {
|
||||
.im_message_author_via,
|
||||
.im_message_fwd_via {
|
||||
color: #3a6d99;
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
& .im_message_fwd_author {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
.non_osx .im_message_author_wrap,
|
||||
.non_osx .im_message_fwd_author_wrap {
|
||||
font-size: 12px;
|
||||
}
|
||||
.im_message_author_via {
|
||||
|
@ -804,6 +804,9 @@ img.im_message_video_thumb,
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
.im_message_reply_body {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.im_message_fwd_header {
|
||||
font-size: 12px;
|
||||
@ -890,11 +893,18 @@ a.im_message_from_photo {
|
||||
margin-left: -45px;
|
||||
}
|
||||
}
|
||||
.im_message_author_via {
|
||||
a.im_message_author_via {
|
||||
color: #323232;
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
margin-bottom: 3px;
|
||||
.im_message_out & {
|
||||
margin-left: 0;
|
||||
}
|
||||
.im_message_fwd_author {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
.im_message_author {
|
||||
display: none;
|
||||
@ -922,7 +932,6 @@ a.im_message_from_photo {
|
||||
.im_grouped_fwd_short a.im_message_author_via,
|
||||
.im_message_out a.im_message_from_photo,
|
||||
.im_message_out a.im_message_author,
|
||||
.im_message_out a.im_message_author_via,
|
||||
.im_message_body_media a.im_message_author {
|
||||
display: none;
|
||||
}
|
||||
@ -1686,6 +1695,9 @@ img.composer_user_photo {
|
||||
h4.media_modal_title_wrap {
|
||||
color: inherit;
|
||||
margin: 8px 0 11px 0;
|
||||
white-space: nowrap;
|
||||
text-overflow:ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
.media_modal_info_wrap {
|
||||
line-height: 16px;
|
||||
|
@ -45,7 +45,7 @@
|
||||
<div class="im_message_body" ng-class="::{im_message_body_media: historyMessage._ == 'message' && historyMessage.media ? true : false}">
|
||||
|
||||
<span class="im_message_author_wrap">
|
||||
<span class="copyonly">[<span ng-bind="::historyMessage.date | time"></span>] </span><a class="im_message_author" my-peer-link="historyMessage.fromID" short="historyMessage.toID > 0" color="historyMessage.toID < 0" no-watch="true"></a><span ng-if="::historyMessage.viaBotID && !historyMessage.fwdFromID" class="im_message_author_via"><span class="copyonly"> </span><span my-i18n="message_via_bot"><my-i18n-param name="bot"><a class="im_message_fwd_author" my-peer-link="historyMessage.viaBotID" username="true" no-watch="true" ng-click="selectInlineBot(historyMessage.viaBotID, $event)"></a></my-i18n-param></span><span class="copyonly">:</span></span>
|
||||
<span class="copyonly">[<span ng-bind="::historyMessage.date | time"></span>] </span><a class="im_message_author" my-peer-link="historyMessage.fromID" short="historyMessage.toID > 0" color="historyMessage.toID < 0" no-watch="true"></a><a ng-if="::historyMessage.viaBotID && !historyMessage.fwdFromID" class="im_message_author_via" ng-click="selectInlineBot(historyMessage.viaBotID, $event)"><span class="copyonly"> </span><span my-i18n="message_via_bot"><my-i18n-param name="bot"><span class="im_message_fwd_author" my-peer-link="historyMessage.viaBotID" username="true" no-watch="true"></span></my-i18n-param></span><span class="copyonly">:</span></a>
|
||||
</span>
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
<span class="copyonly"><span my-i18n="message_forwarded_message"></span>: </span>
|
||||
<a class="im_message_fwd_photo pull-left" my-peer-photolink="::historyMessage.fwdFromID" img-class="im_message_fwd_photo"></a>
|
||||
<div class="im_message_fwd_author_wrap">
|
||||
<a class="im_message_fwd_author" my-peer-link="historyMessage.fwdFromID"></a><span ng-if="::historyMessage.viaBotID" class="im_message_fwd_via"><span class="copyonly"> </span><span my-i18n="message_via_bot"><my-i18n-param name="bot"><a class="im_message_fwd_author" my-peer-link="historyMessage.viaBotID" username="true" no-watch="true"></a></my-i18n-param></span></span><span class="copyonly"> [</span><span class="im_message_fwd_date" ng-bind="::historyMessage.fwd_date | dateOrTime"></span><span class="copyonly">] </span>
|
||||
<a class="im_message_fwd_author" my-peer-link="historyMessage.fwdFromID"></a><a ng-if="::historyMessage.viaBotID" class="im_message_fwd_via" ng-click="selectInlineBot(historyMessage.viaBotID, $event)"><span class="copyonly"> </span><span my-i18n="message_via_bot"><my-i18n-param name="bot"><span class="im_message_fwd_author" my-peer-link="historyMessage.viaBotID" username="true" no-watch="true"></span></my-i18n-param></span></a><span class="copyonly"> [</span><span class="im_message_fwd_date" ng-bind="::historyMessage.fwd_date | dateOrTime"></span><span class="copyonly">] </span>
|
||||
<span class="im_message_views_inline" ng-if="::historyMessage.views > 0">
|
||||
<i class="icon-message-views"></i><span class="im_message_views_cnt" my-message-views="historyMessage.mid"></span>
|
||||
</span>
|
||||
|
@ -43,15 +43,14 @@
|
||||
<div class="im_message_body" ng-class="::{im_message_body_media: historyMessage._ == 'message' && historyMessage.media && historyMessage.media._ != 'messageMediaWebPage' && !historyMessage.media.rCaption && !historyMessage.viaBotID ? true : false}">
|
||||
|
||||
<a class="im_message_author" my-peer-link="historyMessage.fromID" short="historyMessage.toID > 0" color="historyMessage.toID < 0" no-watch="true"></a>
|
||||
<span ng-if="::historyMessage.viaBotID && !historyMessage.fwdFromID" class="im_message_author_via" my-i18n="message_via_bot"><my-i18n-param name="bot"><a class="im_message_fwd_author" my-peer-link="historyMessage.viaBotID" username="true" no-watch="true" ng-click="selectInlineBot(historyMessage.viaBotID, $event)"></a></my-i18n-param></span>
|
||||
<a ng-if="::historyMessage.viaBotID && !historyMessage.fwdFromID" class="im_message_author_via" my-i18n="message_via_bot" ng-click="selectInlineBot(historyMessage.viaBotID, $event)"><my-i18n-param name="bot"><span class="im_message_fwd_author" my-peer-link="historyMessage.viaBotID" username="true" no-watch="true"></span></my-i18n-param></a>
|
||||
|
||||
<a class="im_message_reply_wrap" my-reply-message="historyMessage.reply_to_msg" ng-if="::historyMessage.reply_to_mid"></a>
|
||||
|
||||
<div ng-if="::!!historyMessage.fwdFromID && !historyMessage.media" class="im_message_fwd_header">
|
||||
<div ng-if="::!!historyMessage.fwdFromID && !historyMessage.media" class="im_message_fwd_header" ng-switch="!!historyMessage.viaBotID" my-i18n>
|
||||
<span ng-switch-when="true" my-i18n-format="message_forwarded_via_message_mobile"></span>
|
||||
<span ng-switch-default my-i18n-format="message_forwarded_message_mobile"></span>
|
||||
<my-i18n-param name="from"><a class="im_message_fwd_author" my-peer-link="historyMessage.fwdFromID" no-watch="true"></a></my-i18n-param>
|
||||
<my-i18n-param name="date"><span class="im_message_fwd_date" ng-bind="::historyMessage.fwd_date | dateOrTime"></span></my-i18n-param>
|
||||
<my-i18n-param name="bot"><a class="im_message_fwd_author" my-peer-link="historyMessage.viaBotID" username="true" no-watch="true"></a></my-i18n-param>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user