Telegram Web, preconfigured for usage in I2P.
http://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
4.2 KiB
87 lines
4.2 KiB
10 years ago
|
<a class="im_dialog" ng-mousedown="dialogSelect(dialogMessage.peerString, search.messages && dialogMessage.id)">
|
||
11 years ago
|
|
||
|
<div class="im_dialog_meta pull-right text-right">
|
||
11 years ago
|
<div class="im_dialog_date" ng-bind="dialogMessage.dateText"></div>
|
||
11 years ago
|
<span
|
||
|
class="im_dialog_badge badge"
|
||
11 years ago
|
ng-show="dialogMessage.unreadCount > 0 && !dialogMessage.out"
|
||
11 years ago
|
ng-bind="dialogMessage.unreadCount"
|
||
|
></span>
|
||
11 years ago
|
<i
|
||
|
class="im_dialog_unread"
|
||
|
ng-show="dialogMessage.out && dialogMessage.unread"
|
||
|
></i>
|
||
11 years ago
|
</div>
|
||
|
|
||
|
<div class="im_dialog_photo pull-left">
|
||
11 years ago
|
<img
|
||
|
class="im_dialog_photo"
|
||
|
my-load-thumb
|
||
10 years ago
|
watch="true"
|
||
11 years ago
|
thumb="dialogMessage.peerPhoto"
|
||
|
/>
|
||
11 years ago
|
</div>
|
||
|
|
||
|
<div class="im_dialog_message_wrap">
|
||
|
|
||
11 years ago
|
<div class="im_dialog_peer" ng-switch="dialogMessage.peerID > 0">
|
||
|
<span class="im_dialog_user" ng-switch-when="true" ng-bind-html="dialogMessage.peerData.rFullName"></span>
|
||
|
<span class="im_dialog_chat" ng-switch-default>
|
||
|
<span ng-bind-html="dialogMessage.peerData.rTitle"></span>
|
||
11 years ago
|
</span>
|
||
|
</div>
|
||
|
|
||
11 years ago
|
<div ng-switch="dialogMessage.deleted">
|
||
|
<div ng-switch-when="true" class="im_dialog_message">
|
||
10 years ago
|
<span class="im_dialog_message_text" my-i18n="conversation_message_deleted"></span>
|
||
11 years ago
|
</div>
|
||
|
<div ng-switch-default class="im_dialog_message">
|
||
|
<span class="im_dialog_chat_from_wrap">
|
||
|
<span
|
||
|
class="im_dialog_chat_from"
|
||
|
ng-if="!dialogMessage.out && dialogMessage.chatID"
|
||
|
ng-bind-html="dialogMessage.fromUser.rFirstName"
|
||
|
></span><span
|
||
|
class="im_dialog_chat_from"
|
||
|
ng-if="dialogMessage.out"
|
||
10 years ago
|
my-i18n="conversation_you"
|
||
|
></span>{{((dialogMessage.out || dialogMessage.peerID < 0) && (dialogMessage.message.length || dialogMessage.media && dialogMessage.media._ != 'messageMediaEmpty')) ? ':' : ''}}
|
||
11 years ago
|
</span>
|
||
11 years ago
|
|
||
11 years ago
|
<span class="im_dialog_message_media" ng-if="dialogMessage.media && dialogMessage.media._ != 'messageMediaEmpty'" ng-switch="dialogMessage.media._">
|
||
10 years ago
|
<span ng-switch-when="messageMediaPhoto" my-i18n="conversation_media_photo"></span>
|
||
|
<span ng-switch-when="messageMediaVideo" my-i18n="conversation_media_video"></span>
|
||
|
<span ng-switch-when="messageMediaDocument" my-i18n="conversation_media_document"></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="messageMediaContact" my-i18n="conversation_media_contact"></span>
|
||
11 years ago
|
</span>
|
||
11 years ago
|
|
||
11 years ago
|
<span class="im_dialog_message_service" ng-if="dialogMessage._ == 'messageService'" ng-switch="dialogMessage.action._">
|
||
10 years ago
|
<span ng-switch-when="messageActionChatCreate" my-i18n="conversation_group_created"></span>
|
||
|
<span ng-switch-when="messageActionChatEditTitle" my-i18n="conversation_group_renamed"></span>
|
||
|
<span ng-switch-when="messageActionChatEditPhoto" my-i18n="conversation_group_photo_updated"></span>
|
||
|
<span ng-switch-when="messageActionChatDeletePhoto" my-i18n="conversation_group_photo_removed"></span>
|
||
11 years ago
|
|
||
11 years ago
|
<span ng-switch-when="messageActionChatAddUser" ng-switch="dialogMessage.from_id == dialogMessage.action.user_id">
|
||
10 years ago
|
<span ng-switch-when="true" my-i18n="conversation_returned_to_group"></span>
|
||
|
<span ng-switch-default my-i18n="conversation_invited_user">
|
||
|
<my-i18n-param name="user" ng-bind-html="dialogMessage.action.user.rFullName"></my-i18n-param>
|
||
11 years ago
|
</span>
|
||
11 years ago
|
</span>
|
||
|
|
||
11 years ago
|
<span ng-switch-when="messageActionChatDeleteUser" ng-switch="dialogMessage.from_id == dialogMessage.action.user_id">
|
||
10 years ago
|
<span ng-switch-when="true" my-i18n="conversation_left_group"></span>
|
||
|
<span ng-switch-default my-i18n="conversation_kicked_user">
|
||
|
<my-i18n-param name="user" ng-bind-html="dialogMessage.action.user.rFullName"></my-i18n-param>
|
||
11 years ago
|
</span>
|
||
11 years ago
|
</span>
|
||
11 years ago
|
</span>
|
||
|
|
||
11 years ago
|
<span class="im_dialog_message_text" ng-if="dialogMessage.message.length" ng-bind-html="dialogMessage.richMessage"></span>
|
||
|
</div>
|
||
11 years ago
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</a>
|