webogram-i2p/app/partials/desktop/reply_message.html

43 lines
2.3 KiB
HTML
Raw Normal View History

2015-10-22 12:34:42 +00:00
<div class="im_message_reply clearfix" ng-class="{im_message_reply_thumbed: thumb !== false}" ng-switch="replyMessage.loading">
2015-03-18 19:02:03 +00:00
<div class="im_message_reply_border"></div>
2015-03-17 18:26:17 +00:00
<div class="im_message_reply_loading" ng-switch-when="true" my-i18n="im_reply_loading">
<my-i18n-param name="dots"><span my-loading-dots></span></my-i18n-param>
</div>
2015-10-22 12:34:42 +00:00
<div class="im_message_reply_thumb_wrap pull-left" ng-if="thumb !== false">
2015-03-17 18:26:17 +00:00
<img
class="im_message_reply_thumb"
my-load-thumb
thumb="thumb"
2015-07-08 17:15:11 +00:00
watch="true"
2015-03-17 18:26:17 +00:00
/>
</div>
<div class="im_message_reply_author" ng-switch-default>
<span class="copyonly">&gt;&nbsp;</span>
<span my-peer-link="replyMessage.fromID" peer-watch="true"></span>
2015-03-17 18:26:17 +00:00
</div>
<div class="im_message_reply_body" ng-switch-default>
<span class="copyonly">&gt;&nbsp;</span>
2015-03-17 18:26:17 +00:00
<span class="im_reply_message_media" ng-if="replyMessage.media" ng-switch="replyMessage.media._">
<span ng-switch-when="messageMediaPhoto" my-i18n="conversation_media_photo"></span>
<span ng-switch-when="messageMediaVideo" my-i18n="conversation_media_video"></span>
2016-01-04 21:58:32 +00:00
<span ng-switch-when="messageMediaDocument" ng-switch="dialogMessage.media.document.isSpecial || false">
<span ng-switch-when="sticker">
2015-03-17 18:26:17 +00:00
<span ng-bind-html="replyMessage.media.document.stickerEmoji"></span>
2016-01-04 21:58:32 +00:00
<my-i18n msgid="conversation_media_sticker"></my-i18n>
2015-03-17 18:26:17 +00:00
</span>
2016-01-04 21:58:32 +00:00
<span ng-switch-when="gif" my-i18n="conversation_media_gif"></span>
<span ng-switch-when="audio" my-i18n="conversation_media_audio"></span>
2015-03-17 18:26:17 +00:00
<span ng-switch-default ng-bind="replyMessage.media.document.file_name"></span>
</span>
<span ng-switch-when="messageMediaAudio" my-i18n="conversation_media_audio"></span>
<span ng-switch-when="messageMediaGeo" my-i18n="conversation_media_location"></span>
<span ng-switch-when="messageMediaVenue" my-i18n="conversation_media_location"></span>
2015-03-17 18:26:17 +00:00
<span ng-switch-when="messageMediaContact" my-i18n="conversation_media_contact"></span>
</span>
<span class="im_reply_message_service" ng-if="replyMessage._ == 'messageService'" my-service-short-message="replyMessage"></span>
2015-03-17 18:26:17 +00:00
<span class="im_reply_message_text" ng-if="replyMessage.message.length" ng-bind-html="replyMessage.richMessage"></span>
</div>
</div>