Allow re-send of messages in msg detail view on OutgoingKeyError

We also show more errors than we used to in the MessageDetail screen
to help make it clear what is happening, and why the user would need to
re-send.

FREEBIE
This commit is contained in:
Scott Nonnenberg
2017-06-14 18:02:03 -07:00
parent 47c5142a83
commit a827334c3e
6 changed files with 82 additions and 23 deletions

View File

@@ -293,6 +293,14 @@
<script type='text/x-tmpl-mustache' id='message-detail'>
<div class='container'>
<div class='message-container'></div>
{{ #allowRetry }}
<div class='retries'>
<div>{{ retryDescription }}</div>
{{ #retryTargets }}
<button class='retry gray' data-number='{{ number }}'>{{ title }}</button>
{{ /retryTargets }}
</div>
{{ /allowRetry }}
<div class='info'>
<table>
{{ #errors }}