-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #622 from wireapp/dev
staging bump 2017-01-12
- Loading branch information
Showing
49 changed files
with
522 additions
and
597 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,42 @@ | ||
<div id="detail-view" class="modal detail-view"> | ||
<img class="detail-view-image modal-content-anim-close" data-bind="attr: {src: image_src()}, css: {'modal-content-anim-open': image_visible()}" data-uie-name="status-picture"/> | ||
<div class="detail-view-close-button"> | ||
<span class="icon-close icon-button" data-bind="click: hide_detail_view" data-uie-name="do-close-detail-view"></span> | ||
</div> | ||
<!-- ko if: message_et() && conversation_et() --> | ||
<div class="detail-view-content modal-content-anim-close" data-bind="css: {'modal-content-anim-open': image_visible()}"> | ||
<header class="detail-view-header"> | ||
<div class="text-center"> | ||
<div class="label-bold-xs" data-bind="text: message_et().sender_name()"></div> | ||
<div class="label-xs" data-bind="text: moment(message_et().timestamp).format('DD/MM/YYYY h:mm')"></div> | ||
</div> | ||
<span class="detail-view-header-close-button icon-close icon-button" data-bind="click: click_on_close" data-uie-name="do-close-detail-view"></span> | ||
</header> | ||
<div class="detail-view-main"> | ||
<img class="detail-view-image" data-bind="attr: {src: image_src()}" data-uie-name="status-picture"/> | ||
</div> | ||
<footer class="detail-view-footer"> | ||
<!-- ko if: message_et().get_first_asset().download && !message_et().is_ephemeral() --> | ||
<span class="detail-view-action-button" data-bind="click: click_on_download"> | ||
<span class="icon-download"></span> | ||
<span data-bind="l10n_text: z.string.conversation_context_menu_download"></span> | ||
</span> | ||
<!-- /ko --> | ||
<!-- ko if: message_et().is_reactable() && !conversation_et().removed_from_conversation() --> | ||
<span class="detail-view-action-button" data-bind="click: click_on_like"> | ||
<span data-bind="css: message_et().is_liked() ? 'icon-liked text-red' : 'icon-like'"></span> | ||
<span data-bind="l10n_text: z.string.conversation_context_menu_like"></span> | ||
</span> | ||
<!-- /ko --> | ||
<!-- ko if: message_et().is_deletable() --> | ||
<span class="detail-view-action-button" data-bind="click: click_on_delete"> | ||
<span class="icon-delete-for-me"></span> | ||
<span data-bind="l10n_text: z.string.conversation_context_menu_delete"></span> | ||
</span> | ||
<!-- /ko --> | ||
<!-- ko if: message_et().user().is_me && message_et().status() !== z.message.StatusType.SENDING && !conversation_et().removed_from_conversation() --> | ||
<span class="detail-view-action-button" data-bind="click: click_on_delete_for_everyone"> | ||
<span class="icon-delete-for-everyone"></span> | ||
<span data-bind="l10n_text: z.string.conversation_context_menu_delete_everyone"></span> | ||
</span> | ||
<!-- /ko --> | ||
</footer> | ||
</div> | ||
<!-- /ko --> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.